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 listJul 8, 2023 10:42Andrew MoonAndrew MoonScore: 5,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 10:425,29541,199,09814,950,0001,993,0002,392,064
2Jul 8, 2023 10:425,30245,396,29414,970,0001,996,0002,265,088
3Jul 8, 2023 10:425,30933,336,01515,989,000999,0002,265,088
4Jul 8, 2023 10:425,31332,548,19015,002,0002,000,0002,265,088
5Jul 8, 2023 10:425,32242,471,09615,027,0002,003,0002,387,968
6Jul 8, 2023 10:425,33243,301,65816,059,0001,003,0002,265,088
7Jul 8, 2023 10:425,34041,840,73715,078,0002,010,0002,387,968
8Jul 8, 2023 10:425,34044,451,15415,078,0002,010,0002,265,088
9Jul 8, 2023 10:425,34742,956,58616,105,0001,006,0002,392,064
10Jul 8, 2023 10:425,50678,759,37417,618,84902,269,184
11Jul 8, 2023 10:425,50975,532,51017,630,12402,273,280
12Jul 8, 2023 10:425,56284,127,00417,797,83302,281,472