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 listOct 13, 2026 12:30highload-churnerhighload-churnerScore: 3,936Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2026 12:323,92321,545,28012,554,000020,480
2Oct 13, 2026 12:323,92622,823,79912,566,000020,480
3Oct 13, 2026 12:323,93021,391,98612,579,000020,480
4Oct 13, 2026 12:323,93321,469,48512,587,000020,480
5Oct 13, 2026 12:323,93621,651,65312,596,000020,480
6Oct 13, 2026 12:323,94021,521,20512,609,000020,480
7Oct 13, 2026 12:323,94421,532,57612,623,000020,480
8Oct 13, 2026 12:323,94521,479,54612,627,000020,480
9Oct 13, 2026 12:323,94721,482,28112,633,000020,480