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 listJan 3, 2023 22:14Jack FrigaardJack FrigaardScore: 5,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 22:145,13131,910,44415,393,0001,026,0002,523,136
2Jan 3, 2023 22:145,13943,600,59115,417,0001,027,0002,289,664
3Jan 3, 2023 22:145,14041,155,82315,421,0001,028,0002,289,664
4Jan 3, 2023 22:145,14339,661,52915,428,0001,028,0002,265,088
5Jan 3, 2023 22:145,14838,001,73015,443,0001,029,0002,289,664
6Jan 3, 2023 22:145,15538,707,85715,465,0001,031,0002,269,184
7Jan 3, 2023 22:145,15739,725,05615,471,0001,031,0002,289,664
8Jan 3, 2023 22:145,17333,625,39815,518,0001,034,0002,289,664
9Jan 3, 2023 22:145,17834,615,62116,570,00002,273,280
10Jan 3, 2023 22:145,37492,490,28317,197,91102,293,760
11Jan 3, 2023 22:145,38183,852,17917,217,98402,293,760
12Jan 3, 2023 22:145,39769,722,63917,270,08702,297,856