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 listSep 5, 2021 05:51Ilya AniskovetsIlya AniskovetsScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 05:505,44935,322,49716,411,0001,025,0002,269,184
2Sep 5, 2021 05:515,45543,385,22416,430,0001,026,0002,289,664
3Sep 5, 2021 05:505,46039,666,20817,472,00002,289,664
4Sep 5, 2021 05:505,46141,580,26216,448,0001,028,0002,289,664
5Sep 5, 2021 05:515,47144,026,67016,477,0001,029,0002,289,664
6Sep 5, 2021 05:505,48043,347,22316,504,0001,031,0002,289,664
7Sep 5, 2021 05:515,48838,270,14317,560,00002,289,664
8Sep 5, 2021 05:515,49235,061,07316,540,0001,033,0002,277,376
9Sep 5, 2021 05:505,50836,043,63116,590,0001,036,0002,289,664
10Sep 5, 2021 05:505,50943,952,40316,592,0001,037,0002,289,664
11Sep 5, 2021 05:515,51044,414,08216,594,0001,037,0002,289,664
12Sep 5, 2021 05:515,51538,365,44316,611,0001,038,0002,273,280
13Sep 5, 2021 05:505,52549,453,43217,679,00002,289,664
14Sep 5, 2021 05:515,52844,401,27616,650,0001,040,0002,273,280
15Sep 5, 2021 05:505,53247,332,66216,662,0001,041,0002,289,664
16Sep 5, 2021 05:505,53643,316,96217,716,00002,265,088
17Sep 5, 2021 05:515,57944,559,40816,863,000991,0002,289,664
18Sep 5, 2021 05:515,58245,440,42015,878,0001,984,0002,363,392
19Sep 5, 2021 05:505,64783,775,29118,070,18802,301,952
20Sep 5, 2021 05:505,65188,224,76718,082,81602,293,760
21Sep 5, 2021 05:505,67585,880,47918,160,50102,256,896
22Sep 5, 2021 05:515,68873,604,76318,201,18602,301,952
23Sep 5, 2021 05:515,71564,115,25118,288,38402,301,952
24Sep 5, 2021 05:515,72476,736,74418,316,26402,301,952