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 listJul 11, 2023 06:46Andrew MoonAndrew MoonScore: 5,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 06:465,42341,222,47317,353,00002,392,064
2Jul 11, 2023 06:465,42639,562,58817,362,00002,392,064
3Jul 11, 2023 06:465,43337,684,67317,385,00002,502,656
4Jul 11, 2023 06:465,43940,573,78317,404,00002,265,088
5Jul 11, 2023 06:465,44734,616,93617,430,00002,265,088
6Jul 11, 2023 06:465,45340,026,56317,449,00002,265,088
7Jul 11, 2023 06:465,45541,913,74716,430,0001,026,0002,269,184
8Jul 11, 2023 06:465,47239,478,69617,511,00002,392,064
9Jul 11, 2023 06:465,47437,627,23516,488,0001,030,0002,527,232
10Jul 11, 2023 06:465,60290,247,87817,926,28802,244,608
11Jul 11, 2023 06:465,61189,073,29017,954,20702,244,608
12Jul 11, 2023 06:465,625103,292,42317,998,70802,285,568