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 listJun 13, 2024 12:44AndreyTSAndreyTSScore: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:445,45237,020,10516,419,0001,026,0002,289,664
2Jun 13, 2024 12:445,45840,021,79416,437,0001,027,0002,289,664
3Jun 13, 2024 12:445,45941,263,14216,442,0001,027,0002,289,664
4Jun 13, 2024 12:445,47242,663,61517,510,00002,273,280
5Jun 13, 2024 12:445,48239,078,04817,542,00002,273,280
6Jun 13, 2024 12:445,49633,291,05416,553,0001,034,0002,281,472
7Jun 13, 2024 12:445,49836,981,01116,559,0001,034,0002,269,184
8Jun 13, 2024 12:445,50748,652,10316,585,0001,036,0002,359,296
9Jun 13, 2024 12:445,50835,513,60716,589,0001,036,0002,273,280
10Jun 13, 2024 12:445,70971,427,52218,269,30102,174,976
11Jun 13, 2024 12:445,72675,659,78318,324,34202,297,856
12Jun 13, 2024 12:445,75293,584,52818,407,02902,170,880