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 listApr 23, 2025 04:48vahookvahookScore: 4,172Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 04:504,12926,033,15312,198,0001,016,0002,269,184
2Apr 23, 2025 04:504,14638,194,45913,268,00002,273,280
3Apr 23, 2025 04:494,15029,381,34213,281,00002,502,656
4Apr 23, 2025 04:484,16232,823,57713,318,00002,531,328
5Apr 23, 2025 04:494,16327,863,65613,320,00002,494,464
6Apr 23, 2025 04:504,16731,043,79713,335,00002,498,560
7Apr 23, 2025 04:494,17031,912,60813,344,00002,498,560
8Apr 23, 2025 04:504,17230,296,46813,350,00002,494,464
9Apr 23, 2025 04:494,18631,376,02813,396,00002,490,368
10Apr 23, 2025 04:504,18825,203,72913,402,00002,531,328
11Apr 23, 2025 04:494,19028,221,00913,409,00002,498,560
12Apr 23, 2025 04:484,19136,790,72113,412,00002,502,656
13Apr 23, 2025 04:494,19338,507,20813,418,00002,486,272
14Apr 23, 2025 04:504,19329,558,86713,419,00002,494,464
15Apr 23, 2025 04:484,19630,124,76013,427,00002,494,464