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 12, 2024 23:53джулисджулисScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:535,28442,642,78616,910,00002,371,584
2Jun 12, 2024 23:535,29941,770,78614,963,0001,995,0002,293,760
3Jun 12, 2024 23:535,30845,708,38114,987,0001,998,0002,367,488
4Jun 12, 2024 23:535,30935,485,08315,991,000999,0002,379,776
5Jun 12, 2024 23:535,31941,226,51516,020,0001,001,0002,375,680
6Jun 12, 2024 23:535,32245,984,18116,028,0001,001,0002,367,488
7Jun 12, 2024 23:535,32846,424,17516,047,0001,002,0002,293,760
8Jun 12, 2024 23:535,33247,327,50016,058,0001,003,0002,371,584
9Jun 12, 2024 23:535,33233,731,36015,055,0002,007,0002,379,776
10Jun 12, 2024 23:535,538108,387,56817,720,12202,248,704
11Jun 12, 2024 23:535,54664,251,17117,748,46702,240,512
12Jun 12, 2024 23:535,56373,252,00617,803,02202,248,704