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 listOct 7, 2023 16:16Pavel ZagrebinPavel ZagrebinScore: 5,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:165,27147,228,68714,882,0001,984,0002,392,064
2Oct 7, 2023 16:175,27447,064,91615,886,000992,0002,396,160
3Oct 7, 2023 16:165,27436,650,63414,891,0001,985,0002,392,064
4Oct 7, 2023 16:175,27546,824,84015,888,000993,0002,265,088
5Oct 7, 2023 16:165,27744,489,93715,893,000993,0002,392,064
6Oct 7, 2023 16:165,27739,420,48614,901,0001,986,0002,392,064
7Oct 7, 2023 16:165,27838,366,00915,897,000993,0002,265,088
8Oct 7, 2023 16:175,27832,924,82815,895,000993,0002,387,968
9Oct 7, 2023 16:165,28330,572,21415,910,000994,0002,265,088
10Oct 7, 2023 16:175,28746,752,33214,928,0001,990,0002,265,088
11Oct 7, 2023 16:175,28742,181,87515,923,000995,0002,265,088
12Oct 7, 2023 16:175,28834,001,60815,864,0001,057,0002,387,968
13Oct 7, 2023 16:175,28850,748,29915,866,0001,057,0002,383,872
14Oct 7, 2023 16:165,28930,739,97514,934,0001,991,0002,265,088
15Oct 7, 2023 16:175,29040,538,65615,933,000995,0002,527,232
16Oct 7, 2023 16:165,29143,684,21515,935,000995,0002,527,232
17Oct 7, 2023 16:165,29441,966,02015,944,000996,0002,265,088
18Oct 7, 2023 16:165,30040,432,68314,964,0001,995,0002,527,232
19Oct 7, 2023 16:165,30043,106,21415,964,000997,0002,265,088
20Oct 7, 2023 16:175,30336,201,76515,973,000998,0002,387,968
21Oct 7, 2023 16:165,30336,371,68815,973,000998,0002,387,968
22Oct 7, 2023 16:165,31146,918,39015,996,000999,0002,387,968
23Oct 7, 2023 16:165,31349,238,68816,000,0001,000,0002,265,088
24Oct 7, 2023 16:165,32033,930,60416,023,0001,001,0002,265,088
25Oct 7, 2023 16:165,32537,701,63415,036,0002,004,0002,490,368
26Oct 7, 2023 16:165,32847,616,27516,047,0001,002,0002,265,088
27Oct 7, 2023 16:165,34034,097,36315,079,0002,010,0002,387,968
28Oct 7, 2023 16:165,50490,461,21317,611,60602,281,472
29Oct 7, 2023 16:165,510107,612,91017,631,69702,265,088
30Oct 7, 2023 16:165,51474,779,33217,643,77802,281,472
31Oct 7, 2023 16:175,51562,870,99417,649,25402,281,472
32Oct 7, 2023 16:165,52690,446,79117,681,60002,277,376
33Oct 7, 2023 16:175,53264,912,50117,700,80602,277,376
34Oct 7, 2023 16:175,54160,916,60417,731,16602,248,704
35Oct 7, 2023 16:165,55265,611,26517,767,06802,277,376
36Oct 7, 2023 16:165,553103,577,08917,768,19702,281,472