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 17, 2024 22:30Joad NacerJoad NacerScore: 4,521Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 17, 2024 22:304,49629,487,21714,387,00002,433,024
2Nov 17, 2024 22:304,50630,805,98413,389,0001,029,0002,428,928
3Nov 17, 2024 22:304,50742,676,15114,421,00002,433,024
4Nov 17, 2024 22:304,52134,410,74414,468,00002,428,928
5Nov 17, 2024 22:304,52430,134,70814,477,00002,535,424
6Nov 17, 2024 22:304,53331,703,55513,471,0001,036,0002,535,424