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 listMar 31, 2026 19:41Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 5,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 31, 2026 19:415,26435,028,35114,864,0001,981,0002,281,472
2Mar 31, 2026 19:415,27146,961,60315,875,000992,0002,281,472
3Mar 31, 2026 19:415,27734,101,95114,901,0001,986,0002,281,472
4Mar 31, 2026 19:415,28232,454,69814,914,0001,988,0002,281,472
5Mar 31, 2026 19:415,28332,702,59716,905,00002,281,472
6Mar 31, 2026 19:415,28345,705,12316,905,00002,281,472
7Mar 31, 2026 19:415,29744,044,32315,953,000997,0002,392,064
8Mar 31, 2026 19:415,31446,648,54515,005,0002,000,0002,396,160
9Mar 31, 2026 19:415,32546,403,00515,036,0002,004,0002,400,256