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 listOct 6, 2023 08:53Pavel ZagrebinPavel ZagrebinScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2023 08:425,27545,823,32715,888,000993,0002,265,088
2Oct 6, 2023 08:535,28435,026,55514,921,0001,989,0002,265,088
3Oct 6, 2023 08:535,28833,890,61014,932,0001,990,0002,265,088
4Oct 6, 2023 08:425,28940,534,53315,930,000995,0002,367,488
5Oct 6, 2023 08:425,29130,598,86415,936,000996,0002,265,088
6Oct 6, 2023 08:535,29345,059,67714,946,0001,992,0002,387,968
7Oct 6, 2023 08:535,30047,080,17615,962,000997,0002,265,088
8Oct 6, 2023 08:425,30144,962,43214,967,0001,995,0002,265,088
9Oct 6, 2023 08:425,31046,893,51314,992,0001,999,0002,387,968
10Oct 6, 2023 08:535,31644,364,22416,012,0001,000,0002,269,184
11Oct 6, 2023 08:535,31739,093,67316,015,0001,000,0002,265,088
12Oct 6, 2023 08:425,32640,906,17515,039,0002,005,0002,392,064
13Oct 6, 2023 08:535,32849,789,34616,046,0001,002,0002,396,160
14Oct 6, 2023 08:535,32947,079,02216,050,0001,003,0002,265,088
15Oct 6, 2023 08:535,33036,548,76315,050,0002,006,0002,383,872
16Oct 6, 2023 08:425,33044,978,36316,052,0001,003,0002,392,064
17Oct 6, 2023 08:425,33549,131,90716,067,0001,004,0002,506,752
18Oct 6, 2023 08:425,33643,102,11616,071,0001,004,0002,265,088
19Oct 6, 2023 08:425,52067,829,93417,664,16302,281,472
20Oct 6, 2023 08:535,54085,183,46417,726,81402,285,568
21Oct 6, 2023 08:425,54066,224,63317,729,17402,285,568
22Oct 6, 2023 08:425,54675,200,52517,747,29802,277,376
23Oct 6, 2023 08:535,54864,736,52817,752,04902,273,280
24Oct 6, 2023 08:535,68181,636,63018,178,87202,277,376