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 26, 2025 18:04Daniel MastalerzDaniel MastalerzScore: 5,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2025 18:045,65139,134,63516,075,0002,009,0002,404,352
2Sep 26, 2025 18:045,66941,194,55716,126,0002,015,0002,269,184
3Sep 26, 2025 18:045,68240,096,26116,162,0002,020,0002,269,184
4Sep 26, 2025 18:045,69936,255,93817,223,0001,013,0002,269,184
5Sep 26, 2025 18:045,70142,205,36115,204,0003,040,0002,269,184
6Sep 26, 2025 18:045,72239,437,47217,293,0001,017,0002,269,184
7Sep 26, 2025 18:045,72241,775,75518,311,00002,269,184
8Sep 26, 2025 18:045,73541,142,71517,334,0001,019,0002,404,352
9Sep 26, 2025 18:045,77841,320,19817,462,0001,027,0002,269,184