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 30, 2024 10:39AnSaAnSaScore: 5,024Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:394,97039,850,82813,916,0001,988,0002,289,664
2Jun 30, 2024 10:394,98333,535,00413,951,0001,993,0002,289,664
3Jun 30, 2024 10:394,98835,150,53414,965,000997,0002,285,568
4Jun 30, 2024 10:394,98930,852,82314,969,000997,0002,523,136
5Jun 30, 2024 10:394,99847,328,37913,994,0001,999,0002,289,664
6Jun 30, 2024 10:395,01839,793,23015,053,0001,003,0002,281,472
7Jun 30, 2024 10:395,02444,094,10614,068,0002,009,0002,289,664
8Jun 30, 2024 10:395,02537,652,24914,071,0002,010,0002,289,664
9Jun 30, 2024 10:395,03338,582,14714,091,0002,013,0002,289,664
10Jun 30, 2024 10:395,26793,778,40316,853,42402,289,664
11Jun 30, 2024 10:395,27082,393,68616,864,53702,285,568
12Jun 30, 2024 10:395,29287,417,05216,934,02402,293,760