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 listApr 19, 2024 11:46Joad NacerJoad NacerScore: 5,081Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 19, 2024 11:465,05439,330,94013,142,0003,032,0002,527,232
2Apr 19, 2024 11:465,06042,143,29614,169,0002,024,0002,281,472
3Apr 19, 2024 11:465,06837,208,40414,190,0002,027,0002,519,040
4Apr 19, 2024 11:465,07135,886,22714,200,0002,028,0002,277,376
5Apr 19, 2024 11:465,07635,302,32014,212,0002,030,0002,277,376
6Apr 19, 2024 11:465,07937,807,09714,223,0002,031,0002,523,136
7Apr 19, 2024 11:465,08142,497,74413,210,0003,048,0002,527,232
8Apr 19, 2024 11:465,08436,044,32313,218,0003,050,0002,277,376
9Apr 19, 2024 11:465,09643,916,66613,250,0003,057,0002,277,376
10Apr 19, 2024 11:465,23485,324,95916,748,63202,297,856
11Apr 19, 2024 11:465,24954,748,14816,795,60702,179,072
12Apr 19, 2024 11:465,25363,210,57516,808,15802,183,168