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 listNov 9, 2024 22:31E SequeiraE SequeiraScore: 2,767,749Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2024 22:312,759,9598,858,119,8088,792,889,00038,981,0002,289,664
2Nov 9, 2024 22:312,766,0878,878,726,1288,817,493,00033,986,0002,281,472
3Nov 9, 2024 22:312,766,3278,883,880,4948,818,266,00033,981,0002,285,568
4Nov 9, 2024 22:312,766,5458,885,727,5708,823,959,00028,986,0002,293,760
5Nov 9, 2024 22:312,767,7498,886,306,3618,820,812,00035,986,0002,281,472
6Nov 9, 2024 22:312,770,1108,893,457,6908,833,366,00030,987,0002,281,472
7Nov 9, 2024 22:312,797,3708,979,077,5508,918,601,00032,983,0002,289,664
8Nov 9, 2024 22:312,839,2769,114,839,9629,055,695,00029,989,0002,281,472
9Nov 9, 2024 22:312,865,6149,201,692,2429,139,979,00029,986,0002,281,472