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 19:09джулисджулисScore: 5,533Success
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 19:095,48940,255,07617,564,00002,293,760
2Jun 9, 2024 19:095,50246,626,66216,570,0001,035,0002,293,760
3Jun 9, 2024 19:095,50341,440,01817,610,00002,379,776
4Jun 9, 2024 19:095,50644,542,77416,583,0001,036,0002,293,760
5Jun 9, 2024 19:095,50842,554,40717,624,00002,293,760
6Jun 9, 2024 19:095,52945,038,45917,694,00002,293,760
7Jun 9, 2024 19:095,53346,129,48416,663,0001,041,0002,293,760
8Jun 9, 2024 19:095,53548,269,57617,713,00002,375,680
9Jun 9, 2024 19:095,58736,502,48215,892,0001,986,0002,293,760
10Jun 9, 2024 19:095,71983,215,60318,300,77802,244,608
11Jun 9, 2024 19:095,74164,017,35818,371,11002,240,512
12Jun 9, 2024 19:095,75987,488,60618,429,53502,252,800