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 27, 2024 16:10Hayden DonnellyHayden DonnellyScore: 2,769,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 16:102,765,8078,876,130,8318,823,594,00026,989,0002,281,472
2Nov 27, 2024 16:102,766,0198,887,587,7088,813,281,00037,979,0002,293,760
3Nov 27, 2024 16:102,766,2658,879,894,5068,814,064,00037,983,0002,281,472
4Nov 27, 2024 16:102,766,3798,886,031,3808,824,425,00027,988,0002,293,760
5Nov 27, 2024 16:102,769,5138,890,542,0568,831,456,00030,984,0002,281,472
6Nov 27, 2024 16:102,774,4159,011,834,5208,845,199,00032,930,0002,281,472
7Nov 27, 2024 16:102,778,5168,924,057,6238,851,267,00039,983,0002,281,472
8Nov 27, 2024 16:102,784,1888,936,206,0778,875,414,00033,986,0002,531,328
9Nov 27, 2024 16:102,875,5459,238,776,8899,162,763,00038,981,0002,281,472