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 09:44Sergey StreminSergey StreminScore: 5,674Success
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 09:445,63542,413,54017,030,0001,001,0002,371,584
2May 17, 2021 09:445,64437,747,62017,058,0001,003,0002,379,776
3May 17, 2021 09:445,65237,007,70317,081,0001,004,0002,277,376
4May 17, 2021 09:455,65340,498,76017,085,0001,005,0002,281,472
5May 17, 2021 09:445,65340,542,96816,080,0002,010,0002,277,376
6May 17, 2021 09:455,65434,215,90716,084,0002,010,0002,277,376
7May 17, 2021 09:445,65746,625,75215,085,0003,017,0002,375,680
8May 17, 2021 09:445,65840,128,97716,093,0002,011,0002,371,584
9May 17, 2021 09:455,65935,220,82516,096,0002,012,0002,277,376
10May 17, 2021 09:445,66039,605,34215,093,0003,018,0002,367,488
11May 17, 2021 09:445,66041,366,97715,094,0003,018,0002,375,680
12May 17, 2021 09:455,66134,985,07017,110,0001,006,0002,445,312
13May 17, 2021 09:445,66540,009,35515,106,0003,021,0002,486,272
14May 17, 2021 09:445,66640,920,86216,116,0002,014,0002,281,472
15May 17, 2021 09:455,66644,753,49116,117,0002,014,0002,367,488
16May 17, 2021 09:455,66845,209,05014,107,0004,030,0002,277,376
17May 17, 2021 09:445,66839,555,82616,122,0002,015,0002,281,472
18May 17, 2021 09:445,67338,269,06516,136,0002,017,0002,469,888
19May 17, 2021 09:445,67441,812,44816,141,0002,017,0002,371,584
20May 17, 2021 09:455,67443,082,26116,139,0002,017,0002,371,584
21May 17, 2021 09:445,67639,377,55915,135,0003,027,0002,371,584
22May 17, 2021 09:455,67738,806,74716,148,0002,018,0002,375,680
23May 17, 2021 09:445,67845,979,70416,151,0002,018,0002,379,776
24May 17, 2021 09:445,68039,850,46516,157,0002,019,0002,277,376
25May 17, 2021 09:445,68048,103,68616,156,0002,019,0002,277,376
26May 17, 2021 09:455,68536,934,36216,170,0002,021,0002,371,584
27May 17, 2021 09:445,69041,503,15316,186,0002,023,0002,375,680
28May 17, 2021 09:455,89979,019,92918,875,84702,236,416
29May 17, 2021 09:455,90187,042,34018,884,22502,252,800
30May 17, 2021 09:455,93183,330,91318,979,22202,240,512
31May 17, 2021 09:445,93689,252,99718,993,72702,236,416
32May 17, 2021 09:445,96059,614,15619,070,74502,244,608
33May 17, 2021 09:445,96279,818,53519,078,38002,236,416
34May 17, 2021 09:445,97879,611,14919,129,81802,236,416
35May 17, 2021 09:446,01776,141,39219,255,32602,228,224
36May 17, 2021 09:446,14886,785,68619,672,45102,224,128