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 23, 2021 14:30Yuriy LyfenkoYuriy LyfenkoScore: 5,997Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 14:295,903100,079,23518,889,60502,224,128
2May 23, 2021 14:295,95945,046,19217,063,0002,007,0002,326,528
3May 23, 2021 14:305,96242,650,69416,067,0003,012,0002,334,720
4May 23, 2021 14:295,96844,876,40716,083,0003,015,0002,519,040
5May 23, 2021 14:295,97147,778,22917,097,0002,011,0002,519,040
6May 23, 2021 14:305,98148,645,29116,117,0003,022,0002,334,720
7May 23, 2021 14:295,98340,849,90716,123,0003,023,0002,523,136
8May 23, 2021 14:305,98549,147,14117,136,0002,016,0002,326,528
9May 23, 2021 14:305,98746,204,88118,149,0001,008,0002,519,040
10May 23, 2021 14:295,99043,736,76716,142,0003,026,0002,519,040
11May 23, 2021 14:295,99243,448,38217,155,0002,018,0002,326,528
12May 23, 2021 14:305,99547,208,59516,154,0003,029,0002,519,040
13May 23, 2021 14:305,99738,945,44417,171,0002,020,0002,334,720
14May 23, 2021 14:306,00640,520,71217,197,0002,023,0002,334,720
15May 23, 2021 14:296,01440,888,41117,220,0002,025,0002,531,328
16May 23, 2021 14:296,01544,553,96516,210,0003,039,0002,519,040
17May 23, 2021 14:306,01844,247,66318,246,0001,013,0002,334,720
18May 23, 2021 14:306,02036,504,53617,236,0002,027,0002,334,720
19May 23, 2021 14:296,02944,052,85517,262,0002,030,0002,334,720
20May 23, 2021 14:306,03281,749,11719,301,45202,224,128
21May 23, 2021 14:306,07285,779,37319,429,30402,220,032
22May 23, 2021 14:296,072107,578,79719,429,02702,220,032
23May 23, 2021 14:306,079111,277,12019,452,40202,228,224
24May 23, 2021 14:296,09292,529,35019,492,81502,211,840