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 19:03Andrey TsvetkovAndrey TsvetkovScore: 5,728Success
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 19:035,69845,050,48716,207,0002,025,0002,326,528
2Jun 20, 2021 19:035,69941,938,17115,199,0003,039,0002,334,720
3Jun 20, 2021 19:035,70034,593,66316,215,0002,026,0002,535,424
4Jun 20, 2021 19:035,70339,092,51916,222,0002,027,0002,531,328
5Jun 20, 2021 19:035,70340,825,14816,222,0002,027,0002,531,328
6Jun 20, 2021 19:035,71138,409,07015,230,0003,046,0002,310,144
7Jun 20, 2021 19:035,71441,321,91015,239,0003,047,0002,334,720
8Jun 20, 2021 19:035,71838,976,90915,249,0003,049,0002,531,328
9Jun 20, 2021 19:035,71945,161,91115,251,0003,050,0002,334,720
10Jun 20, 2021 19:035,72046,056,44316,270,0002,033,0002,334,720
11Jun 20, 2021 19:035,72135,766,90116,273,0002,034,0002,334,720
12Jun 20, 2021 19:035,72240,769,10216,275,0002,034,0002,334,720
13Jun 20, 2021 19:035,72840,865,60416,293,0002,036,0002,523,136
14Jun 20, 2021 19:035,72942,254,35316,296,0002,037,0002,334,720
15Jun 20, 2021 19:035,73991,361,26718,364,58402,236,416
16Jun 20, 2021 19:035,74140,379,13616,329,0002,041,0002,334,720
17Jun 20, 2021 19:035,74246,679,88115,313,0003,062,0002,334,720
18Jun 20, 2021 19:035,75575,630,85918,415,30302,228,224
19Jun 20, 2021 19:035,76740,788,79515,378,0003,075,0002,334,720
20Jun 20, 2021 19:035,76848,225,87614,357,0004,102,0002,523,136
21Jun 20, 2021 19:035,76991,981,63818,460,04602,228,224
22Jun 20, 2021 19:035,78863,170,36518,521,65902,232,320
23Jun 20, 2021 19:035,80059,697,30918,559,53402,236,416
24Jun 20, 2021 19:035,86996,429,01818,781,79202,232,320