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:48zielaj10.00RecheckSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 23:48030,783,5328,915,000990,0002,363,392expected "976436 ", got "977590 "
2Apr 20, 2026 23:48027,306,3597,927,0001,981,0002,355,200expected "975770 ", got "975200 "
3Apr 20, 2026 23:48025,730,6947,928,0001,982,0002,252,800expected "976083 ", got "976417 "
4May 20, 2021 03:003,11966,199,9119,979,68102,256,896
5May 20, 2021 03:003,12554,533,31310,001,05502,260,992
6May 20, 2021 03:003,13649,124,06310,035,44502,256,896