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 listSep 17, 2026 17:20Victor MerckléVictor MerckléScore: 4,166Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2026 17:224,07621,738,90613,045,000024,576stderr
2Sep 17, 2026 17:224,07721,712,39613,048,000024,576stderr
3Sep 17, 2026 17:224,08121,792,52513,060,000024,576stderr
4Sep 17, 2026 17:224,11021,706,85813,154,000024,576stderr
5Sep 17, 2026 17:224,16622,009,72213,332,000024,576stderr
6Sep 17, 2026 17:224,19222,082,38713,416,000024,576stderr
7Sep 17, 2026 17:224,21022,939,54013,474,000024,576stderr
8Sep 17, 2026 17:224,21122,077,05913,477,000024,576stderr
9Sep 17, 2026 17:224,25523,612,48513,618,000024,576stderr