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 3, 2021 20:21Egor SergeevEgor SergeevScore: 5,158Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2021 20:215,13334,255,01116,424,00002,498,560
2Jul 3, 2021 20:215,13736,782,19516,438,00002,277,376
3Jul 3, 2021 20:215,14338,479,98416,456,00002,277,376
4Jul 3, 2021 20:215,14840,317,05816,474,00002,498,560
5Jul 3, 2021 20:215,15138,130,82416,483,00002,277,376
6Jul 3, 2021 20:215,15241,575,72416,486,00002,277,376
7Jul 3, 2021 20:215,15831,437,13616,507,00002,494,464
8Jul 3, 2021 20:215,16238,662,98516,517,00002,277,376
9Jul 3, 2021 20:215,17535,936,80316,559,00002,498,560
10Jul 3, 2021 20:215,37378,049,82517,194,25802,244,608
11Jul 3, 2021 20:215,40076,812,65417,280,50002,240,512
12Jul 3, 2021 20:215,41173,904,15117,313,72902,236,416