Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJan 3, 2023 21:04Hal FHal FScore: 4,655Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:044,63832,548,24212,864,0001,979,0002,289,664
2Jan 3, 2023 21:044,64442,038,64513,870,000990,0002,531,328
3Jan 3, 2023 21:044,64840,360,76512,892,0001,983,0002,289,664
4Jan 3, 2023 21:044,64944,260,57512,893,0001,983,0002,289,664
5Jan 3, 2023 21:044,64936,288,52813,886,000991,0002,269,184
6Jan 3, 2023 21:044,64936,269,69312,894,0001,983,0002,289,664
7Jan 3, 2023 21:044,65536,406,42312,909,0001,986,0002,269,184
8Jan 3, 2023 21:044,65530,699,46712,910,0001,986,0002,289,664
9Jan 3, 2023 21:044,67339,485,12812,961,0001,994,0002,277,376
10Jan 3, 2023 21:044,88791,342,38115,636,91302,301,952
11Jan 3, 2023 21:044,89698,431,08415,668,63402,252,800
12Jan 3, 2023 21:044,947101,123,35915,830,93502,301,952