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:15Ian MckibbenIan MckibbenScore: 45,811Success
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:1545,779169,891,547146,494,00002,289,664
2Jan 9, 2025 19:1545,782169,375,394145,500,0001,003,0002,289,664
3Jan 9, 2025 19:1545,789172,631,713145,521,0001,003,0002,527,232
4Jan 9, 2025 19:1545,804174,519,094145,569,0001,003,0002,265,088
5Jan 9, 2025 19:1545,811174,405,320145,590,0001,004,0002,289,664
6Jan 9, 2025 19:1545,816181,122,617145,608,0001,004,0002,289,664
7Jan 9, 2025 19:1545,835174,858,183145,668,0001,004,0002,273,280
8Jan 9, 2025 19:1545,863175,831,933144,766,0001,996,0002,367,488
9Jan 9, 2025 19:1545,882173,243,892144,825,0001,997,0002,269,184