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 listFeb 22, 2024 13:30Huy Duc LeHuy Duc LeScore: 4,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:314,60535,056,54813,684,0001,052,0002,265,088
2Feb 22, 2024 13:314,60635,608,77713,688,0001,052,0002,392,064
3Feb 22, 2024 13:314,64333,668,16012,877,0001,981,0002,265,088
4Feb 22, 2024 13:304,64549,069,55013,873,000990,0002,387,968
5Feb 22, 2024 13:314,64743,071,71513,880,000991,0002,265,088
6Feb 22, 2024 13:304,64938,902,67312,894,0001,983,0002,387,968
7Feb 22, 2024 13:314,64931,010,82512,893,0001,983,0002,383,872
8Feb 22, 2024 13:304,65045,674,39914,879,00002,265,088
9Feb 22, 2024 13:314,65031,294,41813,889,000992,0002,392,064
10Feb 22, 2024 13:304,65135,966,83713,890,000992,0002,506,752
11Feb 22, 2024 13:304,65230,395,51113,895,000992,0002,265,088
12Feb 22, 2024 13:304,65848,220,85812,920,0001,987,0002,383,872
13Feb 22, 2024 13:314,66041,231,87812,923,0001,988,0002,265,088
14Feb 22, 2024 13:314,66230,768,09213,923,000994,0002,478,080
15Feb 22, 2024 13:304,66642,254,52113,935,000995,0002,265,088
16Feb 22, 2024 13:314,66731,023,62212,942,0001,991,0002,379,776
17Feb 22, 2024 13:304,67640,720,79212,967,0001,995,0002,265,088
18Feb 22, 2024 13:304,67631,120,60313,967,000997,0002,465,792
19Feb 22, 2024 13:314,86168,846,76815,554,85402,289,664
20Feb 22, 2024 13:304,87089,044,73915,583,47402,285,568
21Feb 22, 2024 13:314,871100,419,55915,587,55502,281,472
22Feb 22, 2024 13:314,87691,292,53515,603,13302,289,664
23Feb 22, 2024 13:304,87683,288,10915,603,23502,281,472
24Feb 22, 2024 13:304,94673,655,59415,828,58302,289,664