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 listJul 27, 2024 10:34kenkenError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 10:3500000Error: expected "978129 ", got "336901 "
2Jul 27, 2024 10:3417,047110,828,76154,550,26802,342,912
3Jul 27, 2024 10:3517,049127,905,96354,555,84302,211,840
4Jul 27, 2024 10:3517,065117,023,51454,608,51202,215,936
5Jul 27, 2024 10:3517,077117,730,56254,644,87302,338,816
6Jul 27, 2024 10:3417,115118,522,08154,768,32002,334,720
7Jul 27, 2024 10:3417,253125,940,80155,208,32502,338,816