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:01Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Apr 20, 2026 23:48zielaj10.00RecheckSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 23:49028,776,8587,971,0001,992,0002,367,488expected "975987 ", got "976043 "
2Apr 20, 2026 23:49023,859,6827,927,0001,981,0002,252,800expected "978701 ", got "976959 "
3Apr 20, 2026 23:49033,654,8166,928,0002,969,0002,248,704expected "975896 ", got "975492 "
4May 20, 2021 03:013,08149,567,9279,860,54002,256,896
5May 20, 2021 03:013,12555,305,21010,000,42602,260,992
6May 20, 2021 03:013,14055,564,78510,049,54102,256,896