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 listJan 21, 2024 14:39AnSaAnSaScore: 5,591Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 14:395,53843,855,07516,681,0001,042,0002,572,288
2Jan 21, 2024 14:395,54948,998,30916,714,0001,044,0002,457,600
3Jan 21, 2024 14:395,58144,592,12415,876,0001,984,0002,461,696
4Jan 21, 2024 14:395,58144,278,68716,868,000992,0002,568,192
5Jan 21, 2024 14:395,58243,805,34515,877,0001,984,0002,359,296
6Jan 21, 2024 14:395,58344,859,61516,873,000992,0002,367,488
7Jan 21, 2024 14:395,58335,232,99215,881,0001,985,0002,453,504
8Jan 21, 2024 14:395,58434,971,74816,878,000992,0002,457,600
9Jan 21, 2024 14:395,58444,939,53815,883,0001,985,0002,453,504
10Jan 21, 2024 14:395,58645,095,95815,888,0001,986,0002,359,296
11Jan 21, 2024 14:395,58845,169,83516,888,000993,0002,457,600
12Jan 21, 2024 14:395,58842,994,71115,896,0001,987,0002,551,808
13Jan 21, 2024 14:395,59146,399,52415,903,0001,987,0002,367,488
14Jan 21, 2024 14:395,59236,112,86616,901,000994,0002,457,600
15Jan 21, 2024 14:395,59543,721,82215,914,0001,989,0002,367,488
16Jan 21, 2024 14:395,60444,498,95515,942,0001,992,0002,367,488
17Jan 21, 2024 14:395,60944,043,94215,956,0001,994,0002,535,424
18Jan 21, 2024 14:395,63752,221,47717,036,0001,002,0002,367,488
19Jan 21, 2024 14:395,74283,490,24718,373,66102,297,856
20Jan 21, 2024 14:395,74880,429,62218,393,40702,289,664
21Jan 21, 2024 14:395,76585,451,91918,449,19202,293,760
22Jan 21, 2024 14:395,78289,905,95718,500,96302,289,664
23Jan 21, 2024 14:395,78495,111,70518,509,18802,297,856
24Jan 21, 2024 14:395,82183,515,02518,627,89702,289,664