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 23, 2024 02:40Eduardo BarbianEduardo BarbianScore: 2,582,515Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2024 02:402,556,2348,245,395,8218,179,948,25402,260,992
2Jul 23, 2024 02:402,582,5158,323,478,7118,264,047,49102,256,896
3Jul 23, 2024 02:402,733,9098,826,543,1818,748,508,40302,260,992