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 listApr 5, 2025 19:55CountHarebourgCountHarebourgError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 19:5300000Error: No answer to stdout. Died or killed?
2Apr 5, 2025 19:5400000Error: expected "975043 ", got "975042"
3Apr 5, 2025 19:5400000Error: expected "975854 ", got "975853"
4Apr 5, 2025 19:5500000Error: expected "977544 ", got "977541"
5Apr 5, 2025 19:554,67834,974,42813,973,000998,0002,289,664
6Apr 5, 2025 19:554,69132,243,80613,009,0002,001,0002,289,664
7Apr 5, 2025 19:554,69839,103,14513,028,0002,004,0002,273,280