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 listJun 2, 2021 21:43Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 21:4400000Error: exit with code 1: alg:0 fwd:4608 mode:3 time:14175stderr
2Jun 2, 2021 21:434,995539,535,88214,985,000999,0002,273,280
3Jun 2, 2021 21:435,005539,527,21416,015,00002,281,472
4Jun 2, 2021 21:435,017537,186,61514,048,0002,006,0002,273,280
5Jun 2, 2021 21:435,022541,828,84615,067,0001,004,0002,408,448
6Jun 2, 2021 21:435,028538,593,52114,077,0002,011,0002,273,280
7Jun 2, 2021 21:435,033541,538,74115,100,0001,006,0002,273,280
8Jun 2, 2021 21:435,035538,064,25415,105,0001,007,0002,273,280
9Jun 2, 2021 21:435,038539,025,26714,106,0002,015,0002,281,472
10Jun 2, 2021 21:435,044538,497,51914,123,0002,017,0002,273,280
11Jun 2, 2021 21:435,171582,545,43716,547,30902,293,760
12Jun 2, 2021 21:435,187580,409,57416,599,02502,256,896
13Jun 2, 2021 21:435,201578,869,92016,644,23902,289,664