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 listAug 26, 2026 17:09Ryan Chung Yi ShengRyan Chung Yi ShengScore: 4,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2026 17:094,63024,833,51013,737,0001,079,0002,113,536
2Aug 26, 2026 17:094,63126,335,70713,729,0001,092,0002,113,536
3Aug 26, 2026 17:094,64425,437,63713,705,0001,156,0002,113,536
4Aug 26, 2026 17:094,65626,212,05913,796,0001,104,0002,113,536
5Aug 26, 2026 17:094,67125,690,90813,773,0001,175,0002,113,536
6Aug 26, 2026 17:094,67324,911,42713,800,0001,156,0002,113,536
7Aug 26, 2026 17:094,68025,735,97513,814,0001,163,0002,113,536
8Aug 26, 2026 17:094,68625,722,84613,825,0001,173,0002,113,536
9Aug 26, 2026 17:094,69425,814,87113,863,0001,158,0002,113,536