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 05:45Andrew MoonAndrew MoonScore: 5,279Success
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 05:455,27444,850,50315,884,000992,0002,265,088
2Jul 11, 2023 05:455,27446,410,44914,892,0001,985,0002,265,088
3Jul 11, 2023 05:455,27436,451,41214,892,0001,985,0002,265,088
4Jul 11, 2023 05:455,27532,900,14714,894,0001,985,0002,392,064
5Jul 11, 2023 05:455,27632,814,13714,896,0001,986,0002,265,088
6Jul 11, 2023 05:455,27932,928,76915,900,000993,0002,387,968
7Jul 11, 2023 05:455,27941,233,88115,900,000993,0002,265,088
8Jul 11, 2023 05:455,28948,589,24914,933,0001,991,0002,265,088
9Jul 11, 2023 05:455,29233,497,93515,938,000996,0002,265,088
10Jul 11, 2023 05:455,49882,777,03417,593,36702,277,376
11Jul 11, 2023 05:455,50674,073,70317,619,23702,273,280
12Jul 11, 2023 05:455,50776,466,24217,623,63002,273,280