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 listMay 30, 2022 13:34Keichi TakahashiKeichi TakahashiScore: 5,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:345,32640,375,78316,040,0001,002,0002,387,968
2May 30, 2022 13:345,32944,866,31215,046,0002,006,0002,392,064
3May 30, 2022 13:345,33144,944,23715,052,0002,006,0002,265,088
4May 30, 2022 13:345,33434,876,69416,065,0001,004,0002,527,232
5May 30, 2022 13:345,34239,582,99716,090,0001,005,0002,265,088
6May 30, 2022 13:345,34742,919,45615,097,0002,013,0002,265,088
7May 30, 2022 13:345,34849,184,34815,100,0002,013,0002,265,088
8May 30, 2022 13:345,36746,786,56416,163,0001,010,0002,269,184
9May 30, 2022 13:345,37037,272,23416,173,0001,010,0002,392,064
10May 30, 2022 13:345,53994,972,95717,723,96302,273,280
11May 30, 2022 13:345,54990,111,51517,755,59402,277,376
12May 30, 2022 13:345,58682,466,90317,873,65902,273,280