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 20:55Ian MckibbenIan MckibbenScore: 7,150Success
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 20:556,04342,426,38917,304,0002,035,0002,269,184
2Jan 9, 2025 20:556,04448,268,61217,305,0002,035,0002,265,088
3Jan 9, 2025 20:556,10942,190,42718,521,0001,028,0002,269,184
4Jan 9, 2025 20:557,15047,844,82222,880,00002,269,184
5Jan 9, 2025 20:557,19645,117,71721,026,0002,002,0002,387,968
6Jan 9, 2025 20:557,21952,714,47921,094,0002,008,0002,289,664