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 21, 2023 16:24gchebanovgchebanovScore: 5,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 16:245,60643,145,14415,946,0001,993,0002,392,064
2Jul 21, 2023 16:245,60942,868,75915,954,0001,994,0002,265,088
3Jul 21, 2023 16:245,61040,764,22116,955,000997,0002,265,088
4Jul 21, 2023 16:245,63836,504,41616,038,0002,004,0002,265,088
5Jul 21, 2023 16:245,64349,306,76416,053,0002,006,0002,265,088
6Jul 21, 2023 16:245,64647,529,55616,059,0002,007,0002,265,088
7Jul 21, 2023 16:245,64842,053,05317,071,0001,004,0002,506,752
8Jul 21, 2023 16:245,65842,674,97917,099,0001,005,0002,265,088
9Jul 21, 2023 16:245,67232,339,35417,141,0001,008,0002,265,088
10Jul 21, 2023 16:245,803105,519,52518,569,99302,277,376
11Jul 21, 2023 16:245,82989,321,62218,651,26502,281,472
12Jul 21, 2023 16:245,831110,533,77718,658,73702,285,568