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 9, 2024 14:09AndreyTSAndreyTSScore: 5,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:095,38438,724,39615,202,0002,026,0002,289,664
2Jun 9, 2024 14:095,39440,743,72515,231,0002,030,0002,289,664
3Jun 9, 2024 14:095,39845,370,47416,256,0001,016,0002,289,664
4Jun 9, 2024 14:095,40242,276,31715,252,0002,033,0002,289,664
5Jun 9, 2024 14:095,42342,141,40115,312,0002,041,0002,289,664
6Jun 9, 2024 14:095,42936,268,71916,352,0001,022,0002,289,664
7Jun 9, 2024 14:095,43239,902,41315,337,0002,045,0002,277,376
8Jun 9, 2024 14:095,44039,355,71015,361,0002,048,0002,289,664
9Jun 9, 2024 14:095,47042,924,64515,560,0001,945,0002,445,312
10Jun 9, 2024 14:095,58294,109,05817,862,40402,310,144
11Jun 9, 2024 14:095,60390,467,44117,928,16102,297,856
12Jun 9, 2024 14:095,61978,356,06517,981,10502,293,760