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 listApr 22, 2024 09:19PhibPhibScore: 5,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 09:195,64341,634,67216,052,0002,006,0002,506,752
2Apr 22, 2024 09:195,64940,315,03315,064,0003,012,0002,355,200
3Apr 22, 2024 09:195,65145,434,31916,074,0002,009,0002,510,848
4Apr 22, 2024 09:195,65140,818,34816,074,0002,009,0002,281,472
5Apr 22, 2024 09:195,65439,681,69915,077,0003,015,0002,281,472
6Apr 22, 2024 09:195,67335,535,99418,153,00002,281,472
7Apr 22, 2024 09:195,67842,038,89017,161,0001,009,0002,281,472
8Apr 22, 2024 09:195,68046,189,21515,146,0003,029,0002,281,472
9Apr 22, 2024 09:195,68941,677,38716,182,0002,022,0002,281,472
10Apr 22, 2024 09:195,90285,124,68218,885,03002,277,376
11Apr 22, 2024 09:195,91785,156,41118,934,97802,285,568
12Apr 22, 2024 09:195,92688,722,46418,962,05402,289,664