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 16, 2021 09:31alex3dalex3dScore: 5,356Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 09:315,2959,856,287,53914,826,0002,118,0002,519,040
2May 16, 2021 09:315,3053,077,990,13915,915,0001,061,0002,514,944
3May 16, 2021 09:315,3078,893,368,03714,984,0001,997,0002,519,040
4May 16, 2021 09:315,3173,148,154,62216,015,0001,000,0002,514,944
5May 16, 2021 09:315,317630,974,76615,952,0001,063,0002,514,944
6May 16, 2021 09:315,3209,455,194,81615,961,0001,064,0002,519,040
7May 16, 2021 09:315,3257,239,837,45514,911,0002,130,0002,514,944
8May 16, 2021 09:315,3282,652,466,51315,043,0002,005,0002,519,040
9May 16, 2021 09:315,3309,029,071,47416,052,0001,003,0002,519,040
10May 16, 2021 09:315,3332,160,107,03117,066,00002,523,136
11May 16, 2021 09:315,3331,899,215,19815,998,0001,066,0002,514,944
12May 16, 2021 09:315,3338,849,106,21117,065,00002,519,040
13May 16, 2021 09:315,3349,830,609,99916,065,0001,004,0002,519,040
14May 16, 2021 09:315,3342,338,809,12216,064,0001,004,0002,531,328
15May 16, 2021 09:315,3372,010,464,13115,068,0002,009,0002,514,944
16May 16, 2021 09:315,3488,679,129,55416,108,0001,006,0002,519,040
17May 16, 2021 09:315,3522,824,671,10016,119,0001,007,0002,514,944
18May 16, 2021 09:315,3542,868,491,80416,126,0001,007,0002,519,040
19May 16, 2021 09:315,3566,456,740,83516,130,0001,008,0002,523,136
20May 16, 2021 09:315,3599,503,214,31417,150,00002,519,040
21May 16, 2021 09:315,3646,266,722,55616,093,0001,072,0002,514,944
22May 16, 2021 09:315,3728,087,421,82815,168,0002,022,0002,514,944
23May 16, 2021 09:315,3746,783,945,69615,174,0002,023,0002,514,944
24May 16, 2021 09:315,3744,651,813,41015,049,0002,149,0002,514,944
25May 16, 2021 09:315,3755,225,350,03116,126,0001,075,0002,514,944
26May 16, 2021 09:315,3989,198,717,84316,257,0001,016,0002,519,040
27May 16, 2021 09:315,4068,004,197,53315,137,0002,162,0002,514,944
28May 16, 2021 09:315,5038,463,654,35417,610,55302,281,472
29May 16, 2021 09:315,5256,968,889,06517,681,50702,281,472
30May 16, 2021 09:315,5373,675,172,14817,716,95802,277,376
31May 16, 2021 09:315,551449,538,15117,762,60102,285,568
32May 16, 2021 09:315,5569,279,391,57717,780,32802,281,472
33May 16, 2021 09:315,5669,463,199,05017,810,98602,281,472
34May 16, 2021 09:315,5726,989,945,88717,830,95602,273,280
35May 16, 2021 09:315,5749,678,651,04917,838,34702,281,472
36May 16, 2021 09:315,6066,299,296,77217,938,30502,277,376