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 18, 2024 19:28Robert BurkeRobert BurkeScore: 4,421Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:284,39334,843,47712,049,0002,008,0002,437,120
2Apr 18, 2024 19:284,39428,415,59412,053,0002,008,0002,449,408
3Apr 18, 2024 19:284,39828,085,51712,063,0002,010,0002,277,376
4Apr 18, 2024 19:284,40230,084,41112,075,0002,012,0002,277,376
5Apr 18, 2024 19:284,40932,353,43312,095,0002,015,0002,281,472
6Apr 18, 2024 19:284,41129,099,14912,098,0002,016,0002,449,408
7Apr 18, 2024 19:284,42132,676,97212,127,0002,021,0002,445,312
8Apr 18, 2024 19:284,43529,822,55212,166,0002,027,0002,281,472
9Apr 18, 2024 19:284,43932,000,27212,177,0002,029,0002,277,376
10Apr 18, 2024 19:284,704111,532,52215,053,70902,195,456
11Apr 18, 2024 19:284,708101,264,62215,067,07402,207,744
12Apr 18, 2024 19:284,709103,855,09815,067,61902,199,552