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 20, 2021 03:00Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Apr 20, 2026 23:47zielaj10.00RecheckSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 23:47023,659,5007,911,0001,977,0002,359,296expected "976232 ", got "975726 "
2Apr 20, 2026 23:47028,808,9917,682,0002,194,0002,371,584expected "976932 ", got "976214 "
3Apr 20, 2026 23:47025,652,4748,669,0001,083,0002,359,296expected "977927 ", got "978159 "
4May 20, 2021 03:003,06153,818,1569,796,39502,260,992
5May 20, 2021 03:003,08368,994,0689,866,59102,260,992
6May 20, 2021 03:023,08743,407,7499,879,47502,256,896
7May 20, 2021 03:003,09067,042,4209,887,02402,256,896
8May 20, 2021 03:023,09255,523,9009,892,87602,260,992
9May 20, 2021 03:023,16951,418,00710,141,54002,191,360