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 20:53Hal FHal FScore: 4,744Success
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 20:534,71331,715,30313,071,0002,011,0002,387,968
2Jan 3, 2023 20:534,72130,731,00714,100,0001,007,0002,281,472
3Jan 3, 2023 20:534,72629,325,76015,122,00002,265,088
4Jan 3, 2023 20:534,73737,120,19513,136,0002,021,0002,289,664
5Jan 3, 2023 20:534,73836,424,88314,151,0001,010,0002,273,280
6Jan 3, 2023 20:534,74142,908,51113,149,0002,022,0002,527,232
7Jan 3, 2023 20:534,74432,992,72213,157,0002,024,0002,265,088
8Jan 3, 2023 20:534,77732,796,42913,248,0002,038,0002,273,280
9Jan 3, 2023 20:534,78337,723,73014,285,0001,020,0002,265,088
10Jan 3, 2023 20:534,99077,642,87215,966,77702,293,760
11Jan 3, 2023 20:534,99582,070,61115,983,75902,301,952
12Jan 3, 2023 20:535,04778,011,95616,150,90802,293,760