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 listJun 13, 2024 02:58джулисджулисScore: 5,306Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 02:595,27840,275,90814,903,0001,987,0002,379,776
2Jun 13, 2024 02:585,27939,974,73916,892,00002,293,760
3Jun 13, 2024 02:595,28242,682,94214,913,0001,988,0002,371,584
4Jun 13, 2024 02:585,28249,154,21715,908,000994,0002,375,680
5Jun 13, 2024 02:595,28949,780,32915,929,000995,0002,371,584
6Jun 13, 2024 02:585,29232,763,58914,942,0001,992,0002,293,760
7Jun 13, 2024 02:585,29334,027,11915,943,000996,0002,367,488
8Jun 13, 2024 02:595,29943,818,11014,962,0001,994,0002,293,760
9Jun 13, 2024 02:595,29945,003,69014,962,0001,995,0002,375,680
10Jun 13, 2024 02:585,30042,971,39515,964,000997,0002,293,760
11Jun 13, 2024 02:595,30033,617,82414,964,0001,995,0002,379,776
12Jun 13, 2024 02:585,30147,152,94615,965,000997,0002,371,584
13Jun 13, 2024 02:595,30638,191,84014,981,0001,997,0002,293,760
14Jun 13, 2024 02:585,30744,432,51315,984,000999,0002,293,760
15Jun 13, 2024 02:585,31650,992,29315,009,0002,001,0002,293,760
16Jun 13, 2024 02:585,32140,993,09615,025,0002,003,0002,469,888
17Jun 13, 2024 02:595,32149,999,10615,025,0002,003,0002,469,888
18Jun 13, 2024 02:595,34036,357,51016,084,0001,005,0002,453,504
19Jun 13, 2024 02:585,55172,973,95417,761,69202,236,416
20Jun 13, 2024 02:595,55895,162,66817,785,35102,240,512
21Jun 13, 2024 02:585,56685,974,19417,810,43102,375,680
22Jun 13, 2024 02:595,57194,332,64417,827,78402,244,608
23Jun 13, 2024 02:595,58785,333,50617,877,70102,240,512
24Jun 13, 2024 02:585,59762,685,53717,910,24402,236,416