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 20, 2021 18:51Andrey TsvetkovAndrey TsvetkovScore: 5,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 18:515,64945,089,81015,064,0003,012,0002,531,328
2Jun 20, 2021 18:515,67039,706,98516,129,0002,016,0002,531,328
3Jun 20, 2021 18:515,67948,566,95416,154,0002,019,0002,531,328
4Jun 20, 2021 18:515,68850,488,61016,181,0002,022,0002,531,328
5Jun 20, 2021 18:515,68938,497,62415,171,0003,034,0002,334,720
6Jun 20, 2021 18:515,69338,012,67315,182,0003,036,0002,334,720
7Jun 20, 2021 18:515,69440,404,71415,185,0003,037,0002,527,232
8Jun 20, 2021 18:515,69838,360,11116,208,0002,026,0002,527,232
9Jun 20, 2021 18:515,69946,123,78016,212,0002,026,0002,334,720
10Jun 20, 2021 18:515,70144,981,93016,216,0002,027,0002,531,328
11Jun 20, 2021 18:515,70840,160,52317,251,0001,014,0002,334,720
12Jun 20, 2021 18:515,70844,169,74316,235,0002,029,0002,322,432
13Jun 20, 2021 18:515,71240,624,01115,233,0003,046,0002,334,720
14Jun 20, 2021 18:515,71345,218,69316,252,0002,031,0002,322,432
15Jun 20, 2021 18:515,72137,845,23716,272,0002,034,0002,523,136
16Jun 20, 2021 18:515,72246,100,50916,277,0002,034,0002,334,720
17Jun 20, 2021 18:515,72537,438,60216,284,0002,035,0002,334,720
18Jun 20, 2021 18:515,73090,280,52918,336,66202,224,128
19Jun 20, 2021 18:515,73540,449,09315,293,0003,058,0002,334,720
20Jun 20, 2021 18:515,73987,874,94418,364,50402,236,416
21Jun 20, 2021 18:515,77080,352,44418,462,63202,232,320
22Jun 20, 2021 18:515,78582,538,10918,513,50902,236,416
23Jun 20, 2021 18:515,80684,070,57818,580,64302,232,320
24Jun 20, 2021 18:515,92481,325,08218,955,86702,236,416