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 listJun 9, 2024 21:53джулисджулисScore: 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
1Jun 9, 2024 21:535,26345,588,99915,850,000990,0002,371,584
2Jun 9, 2024 21:535,26642,187,08515,860,000991,0002,293,760
3Jun 9, 2024 21:535,27245,478,63815,878,000992,0002,293,760
4Jun 9, 2024 21:535,27447,149,95414,891,0001,985,0002,363,392
5Jun 9, 2024 21:535,27643,771,94215,889,000993,0002,375,680
6Jun 9, 2024 21:535,27745,477,84914,900,0001,986,0002,375,680
7Jun 9, 2024 21:535,27943,241,29415,900,000993,0002,371,584
8Jun 9, 2024 21:535,28244,714,75715,907,000994,0002,371,584
9Jun 9, 2024 21:535,29144,840,98615,935,000995,0002,375,680
10Jun 9, 2024 21:535,49476,957,21417,582,21002,256,896
11Jun 9, 2024 21:535,51896,003,22017,658,44702,248,704
12Jun 9, 2024 21:535,53979,940,35017,724,50802,260,992