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 listApr 20, 2026 19:01Charles CabergsCharles CabergsScore: 5,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 19:015,44836,328,59016,409,0001,025,0002,383,872
2Apr 20, 2026 19:015,45247,183,46815,396,0002,052,0002,371,584
3Apr 20, 2026 19:015,45339,595,63916,425,0001,026,0002,375,680
4Apr 20, 2026 19:015,46838,911,34116,470,0001,029,0002,379,776
5Apr 20, 2026 19:015,47342,205,69316,486,0001,030,0002,371,584
6Apr 20, 2026 19:015,47338,598,11916,484,0001,030,0002,379,776
7Apr 20, 2026 19:015,47436,072,47416,488,0001,030,0002,375,680
8Apr 20, 2026 19:015,48045,392,98816,505,0001,031,0002,371,584
9Apr 20, 2026 19:015,48937,722,00516,534,0001,033,0002,371,584