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 8, 2024 21:44AndreyTSAndreyTSScore: 5,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:445,29340,082,68114,946,0001,992,0002,387,968
2Jun 8, 2024 21:445,30545,544,74614,978,0001,997,0002,289,664
3Jun 8, 2024 21:445,30637,075,48814,981,0001,997,0002,277,376
4Jun 8, 2024 21:445,30844,680,69514,989,0001,998,0002,289,664
5Jun 8, 2024 21:445,31739,296,17215,012,0002,001,0002,359,296
6Jun 8, 2024 21:445,32633,834,83215,038,0002,005,0002,289,664
7Jun 8, 2024 21:445,34841,840,54615,099,0002,013,0002,273,280
8Jun 8, 2024 21:445,36334,386,82515,143,0002,019,0002,527,232
9Jun 8, 2024 21:445,36838,753,37015,157,0002,020,0002,265,088
10Jun 8, 2024 21:445,51296,668,10617,637,67702,297,856
11Jun 8, 2024 21:445,54592,767,48917,744,84102,306,048
12Jun 8, 2024 21:445,54991,449,54117,758,16902,297,856