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 27, 2021 18:27Yuriy LyfenkoYuriy LyfenkoScore: 5,064Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:275,01234,208,77314,034,0002,004,0002,387,968
2May 27, 2021 18:305,01631,372,40415,049,0001,003,0002,392,064
3May 27, 2021 18:315,02434,135,37814,067,0002,009,0002,265,088
4May 27, 2021 18:315,02642,775,40715,077,0001,005,0002,265,088
5May 27, 2021 18:275,02845,218,95814,079,0002,011,0002,392,064
6May 27, 2021 18:305,03030,417,78414,085,0002,012,0002,265,088
7May 27, 2021 18:315,03142,939,97415,093,0001,006,0002,379,776
8May 27, 2021 18:315,03536,709,05214,099,0002,014,0002,392,064
9May 27, 2021 18:315,03737,756,30815,110,0001,007,0002,392,064
10May 27, 2021 18:275,03831,133,93714,105,0002,015,0002,265,088
11May 27, 2021 18:305,04331,745,92314,120,0002,017,0002,392,064
12May 27, 2021 18:315,04332,631,30915,130,0001,008,0002,269,184
13May 27, 2021 18:305,04842,985,05314,134,0002,019,0002,265,088
14May 27, 2021 18:275,05039,156,11815,151,0001,010,0002,265,088
15May 27, 2021 18:275,05831,260,20315,176,0001,011,0002,396,160
16May 27, 2021 18:305,05839,707,80315,174,0001,011,0002,392,064
17May 27, 2021 18:315,05932,398,20514,165,0002,023,0002,387,968
18May 27, 2021 18:305,05933,657,98214,167,0002,023,0002,396,160
19May 27, 2021 18:275,06431,876,46114,179,0002,025,0002,400,256
20May 27, 2021 18:275,06833,914,52814,189,0002,027,0002,265,088
21May 27, 2021 18:305,06941,757,01114,193,0002,027,0002,396,160
22May 27, 2021 18:305,06942,098,81415,209,0001,013,0002,265,088
23May 27, 2021 18:275,07345,647,61714,205,0002,029,0002,265,088
24May 27, 2021 18:315,07437,331,41215,224,0001,014,0002,265,088
25May 27, 2021 18:315,07947,055,69515,237,0001,015,0002,392,064
26May 27, 2021 18:275,09433,038,51915,282,0001,018,0002,265,088
27May 27, 2021 18:305,09550,033,04215,286,0001,019,0002,265,088
28May 27, 2021 18:275,22047,829,38016,704,04902,289,664
29May 27, 2021 18:315,23057,366,71816,735,50402,273,280
30May 27, 2021 18:275,23043,758,49716,735,34502,273,280
31May 27, 2021 18:305,23544,257,13316,750,98202,277,376
32May 27, 2021 18:275,25671,498,77016,820,24402,277,376
33May 27, 2021 18:305,25875,208,78416,826,80702,281,472
34May 27, 2021 18:315,26675,822,59016,851,85802,277,376
35May 27, 2021 18:305,27074,604,57316,864,34102,269,184
36May 27, 2021 18:315,62085,087,61317,982,82502,285,568