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 15, 2024 14:21matsuoka-601matsuoka-601Score: 5,988Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:215,93843,951,48217,002,0002,000,0002,527,232
2Jan 15, 2024 14:215,94442,502,83917,020,0002,002,0002,527,232
3Jan 15, 2024 14:215,95339,818,74117,046,0002,005,0002,285,568
4Jan 15, 2024 14:215,95640,701,11117,054,0002,006,0002,285,568
5Jan 15, 2024 14:215,95836,237,39717,059,0002,007,0002,285,568
6Jan 15, 2024 14:215,97342,610,35017,101,0002,011,0002,285,568
7Jan 15, 2024 14:215,98841,786,75217,145,0002,017,0002,285,568
8Jan 15, 2024 14:215,99041,035,99017,151,0002,017,0002,269,184
9Jan 15, 2024 14:216,01042,810,30317,209,0002,024,0002,367,488
10Jan 15, 2024 14:216,13058,119,20319,617,23802,297,856
11Jan 15, 2024 14:216,13992,381,28719,643,56502,297,856
12Jan 15, 2024 14:216,17278,325,20219,751,58202,301,952