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 listJan 3, 2023 21:00Hal FHal FScore: 5,591Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:005,57948,594,22916,863,000991,0002,289,664
2Jan 3, 2023 21:005,58447,324,05416,876,000992,0002,289,664
3Jan 3, 2023 21:005,58434,450,35816,877,000992,0002,289,664
4Jan 3, 2023 21:005,58748,099,90315,891,0001,986,0002,269,184
5Jan 3, 2023 21:005,58845,662,93116,888,000993,0002,269,184
6Jan 3, 2023 21:005,58842,654,99415,896,0001,987,0002,289,664
7Jan 3, 2023 21:005,59143,060,05316,897,000993,0002,531,328
8Jan 3, 2023 21:005,59534,609,34115,915,0001,989,0002,285,568
9Jan 3, 2023 21:005,59737,551,31915,921,0001,990,0002,289,664
10Jan 3, 2023 21:005,72789,286,74618,325,42502,297,856
11Jan 3, 2023 21:005,73869,441,07618,361,96802,293,760
12Jan 3, 2023 21:005,79483,640,61318,539,82902,301,952