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 listDec 13, 2023 12:38Andrey LikhachevAndrey LikhachevScore: 5,829Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 13, 2023 12:385,81441,210,58917,571,0001,033,0002,494,464
2Dec 13, 2023 12:385,81448,666,59317,573,0001,033,0002,289,664
3Dec 13, 2023 12:385,81644,856,64018,611,00002,289,664
4Dec 13, 2023 12:385,82046,157,55818,625,00002,289,664
5Dec 13, 2023 12:385,82341,162,70218,634,00002,289,664
6Dec 13, 2023 12:385,82545,043,29617,604,0001,035,0002,289,664
7Dec 13, 2023 12:385,82944,590,22018,652,00002,371,584
8Dec 13, 2023 12:385,84247,276,51117,655,0001,038,0002,289,664
9Dec 13, 2023 12:385,84245,324,88818,694,00002,371,584
10Dec 13, 2023 12:386,04188,475,83719,330,92502,232,320
11Dec 13, 2023 12:386,05092,785,94819,361,16102,248,704
12Dec 13, 2023 12:386,05984,408,99019,387,39202,240,512