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 12, 2023 11:24Andrew MoonAndrew MoonScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2023 11:245,27442,617,05714,892,0001,985,0002,387,968
2Jul 12, 2023 11:245,27541,477,63614,895,0001,986,0002,265,088
3Jul 12, 2023 11:245,28132,470,54014,910,0001,988,0002,265,088
4Jul 12, 2023 11:245,28142,791,63414,911,0001,988,0002,392,064
5Jul 12, 2023 11:245,28735,321,12714,927,0001,990,0002,265,088
6Jul 12, 2023 11:245,29045,198,41514,938,0001,991,0002,387,968
7Jul 12, 2023 11:245,29841,521,93915,958,000997,0002,265,088
8Jul 12, 2023 11:245,30647,936,17715,980,000998,0002,265,088
9Jul 12, 2023 11:245,31033,370,00315,993,000999,0002,265,088
10Jul 12, 2023 11:245,49664,448,66217,586,92902,281,472
11Jul 12, 2023 11:245,50078,371,30817,601,50502,281,472
12Jul 12, 2023 11:245,50464,963,72017,612,63002,277,376