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 5, 2025 20:17CountHarebourgCountHarebourgScore: 4,690Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 20:164,65134,221,50812,900,0001,984,0002,527,232
2Apr 5, 2025 20:164,66835,394,55213,941,000995,0002,289,664
3Apr 5, 2025 20:164,66934,696,61812,949,0001,992,0002,289,664
4Apr 5, 2025 20:164,67236,440,57812,957,0001,993,0002,273,280
5Apr 5, 2025 20:164,67340,263,94413,956,000996,0002,289,664
6Apr 5, 2025 20:174,68632,374,52712,996,0001,999,0002,269,184
7Apr 5, 2025 20:164,68836,004,86114,002,0001,000,0002,289,664
8Apr 5, 2025 20:164,69037,895,70313,006,0002,001,0002,289,664
9Apr 5, 2025 20:164,69843,920,33113,029,0002,004,0002,273,280
10Apr 5, 2025 20:184,70037,812,57113,036,0002,005,0002,527,232
11Apr 5, 2025 20:184,70941,263,41813,061,0002,009,0002,289,664
12Apr 5, 2025 20:174,71733,768,97413,082,0002,012,0002,527,232
13Apr 5, 2025 20:174,72540,483,76813,105,0002,016,0002,289,664
14Apr 5, 2025 20:164,72731,602,91614,117,0001,008,0002,359,296
15Apr 5, 2025 20:184,73341,740,88913,127,0002,019,0002,289,664