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 listDec 22, 2025 23:46hunaphuhunaphuScore: 4,471Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 23:404,43932,998,96112,177,0002,029,0002,408,448
2Dec 22, 2025 23:404,44131,119,18712,180,0002,030,0002,273,280
3Dec 22, 2025 23:464,45835,980,28112,229,0002,038,0002,273,280
4Dec 22, 2025 23:454,46329,926,46612,242,0002,040,0002,273,280
5Dec 22, 2025 23:424,46630,690,71412,251,0002,041,0002,400,256
6Dec 22, 2025 23:424,47129,440,15913,285,0001,021,0002,519,040
7Dec 22, 2025 23:454,47130,167,24213,285,0001,021,0002,273,280
8Dec 22, 2025 23:424,47336,120,68113,293,0001,022,0002,273,280
9Dec 22, 2025 23:464,47433,227,34012,273,0002,045,0002,273,280
10Dec 22, 2025 23:404,48346,760,89613,320,0001,024,0002,273,280
11Dec 22, 2025 23:464,49231,163,95714,375,00002,273,280
12Dec 22, 2025 23:454,51130,972,16813,405,0001,031,0002,482,176