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 listSep 29, 2021 23:25Mikhail ShirokovMikhail ShirokovScore: 5,904Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 23:255,80938,438,00616,524,0002,065,000290,816
2Sep 29, 2021 23:255,82442,198,08117,602,0001,035,000413,696
3Sep 29, 2021 23:255,84345,653,45217,660,0001,038,000274,432
4Sep 29, 2021 23:255,84451,891,82318,700,0000413,696
5Sep 29, 2021 23:255,89244,369,50017,863,000992,000282,624
6Sep 29, 2021 23:255,90248,999,35117,892,000994,000368,640
7Sep 29, 2021 23:255,90448,600,88315,910,0002,983,000413,696
8Sep 29, 2021 23:255,92338,205,13615,961,0002,992,0002,367,488
9Sep 29, 2021 23:255,939101,362,67319,005,58602,277,376
10Sep 29, 2021 23:255,95692,948,21719,060,75102,306,048
11Sep 29, 2021 23:255,96646,818,92116,077,0003,014,0002,490,368
12Sep 29, 2021 23:255,99267,259,74219,173,75102,285,568