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 14:22Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 5,298Success
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 14:225,27636,544,84315,891,000993,0002,396,160
2Mar 31, 2026 14:225,28344,712,77915,910,000994,0002,281,472
3Mar 31, 2026 14:225,29249,684,32114,941,0001,992,0002,408,448
4Mar 31, 2026 14:225,29343,337,10215,940,000996,0002,281,472
5Mar 31, 2026 14:225,29845,350,05015,957,000997,0002,281,472
6Mar 31, 2026 14:225,30350,065,06515,970,000998,0002,396,160
7Mar 31, 2026 14:225,30944,647,15814,991,0001,998,0002,281,472
8Mar 31, 2026 14:225,32346,569,22717,035,00002,281,472
9Mar 31, 2026 14:225,33845,230,05816,079,0001,004,0002,281,472