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 listNov 26, 2022 18:46AmirAmirScore: 2,565,547Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2022 18:462,555,5008,247,433,8658,177,599,26602,252,800
2Nov 26, 2022 18:462,565,5478,276,569,0108,209,751,24402,260,992
3Nov 26, 2022 18:462,644,2348,525,641,8068,461,548,02302,256,896