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 10:01highload-churnerhighload-churnerScore: 3,938Success
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 10:023,92221,582,23812,552,000020,480
2Oct 13, 2026 10:023,93121,582,12512,580,000020,480
3Oct 13, 2026 10:023,93521,592,22612,594,000020,480
4Oct 13, 2026 10:023,93621,775,25012,598,000020,480
5Oct 13, 2026 10:023,93821,557,56712,604,000020,480
6Oct 13, 2026 10:023,94121,559,77312,613,000020,480
7Oct 13, 2026 10:023,94321,507,21412,618,000020,480
8Oct 13, 2026 10:023,94521,579,20212,625,000020,480
9Oct 13, 2026 10:023,95121,685,05712,645,000020,480