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 listJan 9, 2025 19:16Ian MckibbenIan MckibbenScore: 13,543Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 19:1613,49471,871,04142,177,0001,004,0002,273,280
2Jan 9, 2025 19:1613,51270,420,86241,226,0002,011,0002,289,664
3Jan 9, 2025 19:1613,51366,946,91941,230,0002,011,0002,281,472
4Jan 9, 2025 19:1613,51871,385,34141,246,0002,012,0002,289,664
5Jan 9, 2025 19:1613,54365,515,14541,323,0002,015,0002,281,472
6Jan 9, 2025 19:1613,54565,244,66942,336,0001,008,0002,367,488
7Jan 9, 2025 19:1613,55271,267,61641,349,0002,017,0002,277,376
8Jan 9, 2025 19:1613,56064,480,26341,375,0002,018,0002,289,664
9Jan 9, 2025 19:1613,56765,756,05141,395,0002,019,0002,277,376