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 listMar 8, 2024 03:44Huy Duc LeHuy Duc LeScore: 4,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2024 03:444,66037,961,84813,846,0001,065,0002,396,160
2Mar 8, 2024 03:444,66231,411,14413,923,000994,0002,265,088
3Mar 8, 2024 03:444,66732,867,84413,939,000995,0002,527,232
4Mar 8, 2024 03:444,67129,117,91012,954,0001,992,0002,392,064
5Mar 8, 2024 03:444,67839,359,17612,973,0001,995,0002,383,872
6Mar 8, 2024 03:444,68243,903,13113,985,000998,0002,392,064
7Mar 8, 2024 03:444,69440,789,65613,019,0002,002,0002,265,088
8Mar 8, 2024 03:444,69931,820,88813,033,0002,005,0002,379,776
9Mar 8, 2024 03:444,70542,556,66813,049,0002,007,0002,478,080
10Mar 8, 2024 03:444,90490,289,62215,693,58102,289,664
11Mar 8, 2024 03:444,913107,435,89015,720,62002,289,664
12Mar 8, 2024 03:444,91790,583,09915,733,44502,285,568