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 27, 2024 08:10matsuoka-601matsuoka-601Score: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2024 08:104,95543,516,72814,865,000991,0002,527,232
2Apr 27, 2024 08:104,95646,987,55413,877,0001,982,0002,293,760
3Apr 27, 2024 08:104,95835,562,10113,881,0001,983,0002,293,760
4Apr 27, 2024 08:104,95932,381,42313,885,0001,983,0002,293,760
5Apr 27, 2024 08:104,96043,108,36214,880,000992,0002,273,280
6Apr 27, 2024 08:104,96136,403,36614,883,000992,0002,293,760
7Apr 27, 2024 08:104,96242,611,05113,894,0001,984,0002,293,760
8Apr 27, 2024 08:104,97932,108,20813,943,0001,991,0002,293,760
9Apr 27, 2024 08:104,99740,555,84013,992,0001,998,0002,293,760
10Apr 27, 2024 08:105,15289,037,76516,484,99502,179,072
11Apr 27, 2024 08:105,15580,840,48216,497,46602,310,144
12Apr 27, 2024 08:105,18664,972,83116,595,82202,306,048