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 listMay 17, 2021 11:56Sergey StreminSergey StreminScore: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 11:565,43034,029,63016,353,0001,022,0002,281,472
2May 17, 2021 11:565,43140,510,75717,380,00002,371,584
3May 17, 2021 11:565,43348,173,73415,342,0002,045,0002,277,376
4May 17, 2021 11:565,43942,334,89416,383,0001,023,0002,375,680
5May 17, 2021 11:565,44043,861,04415,360,0002,048,0002,359,296
6May 17, 2021 11:565,44144,044,32417,412,00002,367,488
7May 17, 2021 11:565,44146,972,32916,386,0001,024,0002,367,488
8May 17, 2021 11:565,44435,221,25417,422,00002,379,776
9May 17, 2021 11:565,44436,581,98716,396,0001,024,0002,277,376
10May 17, 2021 11:565,44431,559,69917,422,00002,375,680
11May 17, 2021 11:565,44534,131,92516,400,0001,025,0002,277,376
12May 17, 2021 11:565,44540,894,88116,399,0001,024,0002,375,680
13May 17, 2021 11:565,44644,996,47416,401,0001,025,0002,277,376
14May 17, 2021 11:565,44643,721,25617,427,00002,375,680
15May 17, 2021 11:565,44839,286,55716,408,0001,025,0002,359,296
16May 17, 2021 11:565,45434,150,52015,401,0002,053,0002,359,296
17May 17, 2021 11:565,45435,072,82817,453,00002,375,680
18May 17, 2021 11:565,45640,107,84217,458,00002,367,488
19May 17, 2021 11:565,45748,961,98315,409,0002,054,0002,375,680
20May 17, 2021 11:565,46238,411,86316,450,0001,028,0002,371,584
21May 17, 2021 11:565,46740,464,04617,493,00002,281,472
22May 17, 2021 11:565,46733,064,56017,493,00002,367,488
23May 17, 2021 11:565,46831,481,14716,470,0001,029,0002,277,376
24May 17, 2021 11:565,46933,420,06617,502,00002,277,376
25May 17, 2021 11:565,47334,061,73216,484,0001,030,0002,277,376
26May 17, 2021 11:565,47636,873,71316,492,0001,030,0002,277,376
27May 17, 2021 11:565,47638,913,82716,493,0001,030,0002,277,376
28May 17, 2021 11:565,68383,932,15218,184,47902,236,416
29May 17, 2021 11:565,68399,763,32718,185,96202,248,704
30May 17, 2021 11:565,69256,763,33918,213,75002,232,320
31May 17, 2021 11:565,70070,103,10318,239,33802,240,512
32May 17, 2021 11:565,70081,942,62718,239,84702,240,512
33May 17, 2021 11:565,70789,188,45018,262,71402,240,512
34May 17, 2021 11:565,71683,901,68118,292,25702,240,512
35May 17, 2021 11:565,72174,502,32718,307,18902,240,512
36May 17, 2021 11:565,82079,816,18718,624,18802,244,608