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 00:30Joad NacerJoad NacerScore: 4,357Success
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 00:304,33533,013,30012,881,000990,0002,531,328
2Nov 30, 2024 00:304,33827,888,51912,889,000991,0002,433,024
3Nov 30, 2024 00:304,33931,237,57712,893,000991,0002,531,328
4Nov 30, 2024 00:304,34339,413,31712,904,000992,0002,428,928
5Nov 30, 2024 00:304,35743,944,76211,950,0001,991,0002,424,832
6Nov 30, 2024 00:304,35739,778,42512,947,000995,0002,510,848
7Nov 30, 2024 00:304,35830,150,34312,951,000996,0002,531,328
8Nov 30, 2024 00:304,36334,693,02611,969,0001,994,0002,531,328
9Nov 30, 2024 00:304,43532,550,15813,178,0001,013,0002,531,328