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 3, 2026 16:57TudyMTudyMScore: 5,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 17:055,25734,280,70415,758,0001,067,0002,387,968
2May 3, 2026 17:055,27634,003,18015,810,0001,075,0002,383,872
3May 3, 2026 17:055,28331,904,14915,839,0001,067,0002,363,392
4May 3, 2026 17:055,28633,763,89115,861,0001,056,0002,359,296
5May 3, 2026 17:055,28734,163,36415,811,0001,109,0002,371,584
6May 3, 2026 17:055,29234,014,82915,843,0001,092,0002,367,488
7May 3, 2026 17:055,30734,199,18215,898,0001,087,0002,367,488
8May 3, 2026 17:055,32034,367,75315,899,0001,125,0002,359,296
9May 3, 2026 17:055,32835,159,02315,913,0001,138,0002,371,584