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 13, 2023 00:38gchebanovgchebanovScore: 5,368Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2023 00:385,33844,881,93816,077,0001,004,0002,265,088
2Jul 13, 2023 00:385,34233,319,41115,082,0002,011,0002,383,872
3Jul 13, 2023 00:385,34541,002,77015,092,0002,012,0002,387,968
4Jul 13, 2023 00:385,34642,581,00116,100,0001,006,0002,265,088
5Jul 13, 2023 00:385,35141,293,47215,110,0002,014,0002,387,968
6Jul 13, 2023 00:385,35650,265,44215,123,0002,016,0002,387,968
7Jul 13, 2023 00:385,36842,414,44115,156,0002,020,0002,265,088
8Jul 13, 2023 00:385,36843,053,87615,156,0002,020,0002,387,968
9Jul 13, 2023 00:385,37032,613,98216,173,0001,010,0002,265,088
10Jul 13, 2023 00:385,57284,824,39117,828,97502,273,280
11Jul 13, 2023 00:385,58492,653,85017,868,10802,273,280
12Jul 13, 2023 00:385,61979,509,40117,979,90902,269,184