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 listMay 16, 2021 23:11Yuriy LyfenkoYuriy LyfenkoScore: 5,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 23:115,3771,836,962,21416,194,0001,012,0002,523,136
2May 16, 2021 23:115,3784,335,275,32315,185,0002,024,0002,523,136
3May 16, 2021 23:115,3884,923,837,72016,227,0001,014,0002,265,088
4May 16, 2021 23:115,3941,387,192,72416,245,0001,015,0002,392,064
5May 16, 2021 23:115,3984,905,302,08415,356,0001,919,0002,527,232
6May 16, 2021 23:115,4095,007,374,99816,347,000961,0002,260,992
7May 16, 2021 23:115,4142,618,652,63916,363,000962,0002,265,088
8May 16, 2021 23:115,4164,689,278,12415,407,0001,925,0002,265,088
9May 16, 2021 23:115,4201,410,355,01216,380,000963,0002,527,232
10May 16, 2021 23:115,568282,329,47517,816,17302,277,376
11May 16, 2021 23:115,5724,828,230,84217,830,44002,281,472
12May 16, 2021 23:115,5902,342,368,80817,887,22302,281,472