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 19, 2023 21:14Aleksandr BelovAleksandr BelovScore: 2,531,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:142,529,9308,156,252,5048,095,777,02702,256,896
2Jun 19, 2023 21:152,530,5558,166,722,3538,097,776,57002,252,800
3Jun 19, 2023 21:152,530,6468,158,464,2478,098,066,22202,248,704
4Jun 19, 2023 20:332,530,6788,158,501,2778,098,170,87802,252,800
5Jun 19, 2023 21:142,530,7448,179,297,1478,098,382,15202,256,896
6Jun 19, 2023 20:332,531,4438,165,549,6308,100,616,92502,260,992
7Jun 19, 2023 21:142,531,5828,164,151,0708,101,061,26702,256,896
8Jun 19, 2023 21:142,532,1448,178,706,9088,102,861,56102,248,704
9Jun 19, 2023 21:152,532,2528,169,807,8068,103,207,93702,256,896
10Jun 19, 2023 21:142,544,7078,202,947,4818,143,062,49702,248,704
11Jun 19, 2023 20:332,601,0038,389,466,3378,323,209,00102,256,896
12Jun 19, 2023 21:142,677,5308,639,169,5628,568,095,79802,260,992