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 listFeb 3, 2025 12:05Sergey SerebryakovSergey SerebryakovScore: 12,545Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 3, 2025 12:0512,36065,193,48212,169,00027,382,0002,289,664
2Feb 3, 2025 12:0512,45369,836,52710,959,00028,892,0002,289,664
3Feb 3, 2025 12:0512,45565,929,28310,960,00028,896,0002,289,664
4Feb 3, 2025 12:0512,48459,341,81312,983,00026,966,0002,289,664
5Feb 3, 2025 12:0512,54567,645,89611,039,00029,104,0002,289,664
6Feb 3, 2025 12:0512,56763,110,77010,053,00030,161,0002,289,664
7Feb 3, 2025 12:0512,61465,489,87111,100,00029,266,0002,289,664
8Feb 3, 2025 12:0512,65163,352,36013,157,00027,327,0002,289,664
9Feb 3, 2025 12:0512,79870,272,1509,988,00030,965,0002,289,664