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 15, 2026 19:26izotoffizotoffScore: 39,409Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 19:3338,844135,075,59918,068,000106,234,0002,138,112
2Oct 15, 2026 19:3338,868135,565,35918,163,000106,215,0002,138,112
3Oct 15, 2026 19:3339,022136,289,04417,525,000107,348,0002,138,112
4Oct 15, 2026 19:3339,258136,887,51017,491,000108,137,0002,138,112
5Oct 15, 2026 19:3339,409138,113,49118,078,000108,033,0002,138,112
6Oct 15, 2026 19:3339,509137,632,08218,029,000108,400,0002,117,632
7Oct 15, 2026 19:3339,881139,553,22117,971,000109,650,0002,142,208
8Oct 15, 2026 19:3339,883139,103,01918,286,000109,342,0002,138,112
9Oct 15, 2026 19:3339,974140,151,74018,310,000109,607,0002,138,112