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 30, 2024 01:43Joad NacerJoad NacerScore: 4,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2024 01:444,33631,389,48512,885,000991,0002,428,928
2Nov 30, 2024 01:434,33839,962,63112,892,000991,0002,531,328
3Nov 30, 2024 01:444,33838,562,43013,880,00002,531,328
4Nov 30, 2024 01:434,34127,210,61812,900,000992,0002,428,928
5Nov 30, 2024 01:434,35236,697,41312,932,000994,0002,531,328
6Nov 30, 2024 01:444,36028,963,57311,958,0001,993,0002,531,328