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:21Huy Duc LeHuy Duc LeScore: 4,822Success
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:214,77731,649,53515,287,00002,273,280
2Feb 22, 2024 13:214,79137,456,79313,287,0002,044,0002,269,184
3Feb 22, 2024 13:214,80436,555,01315,372,00002,289,664
4Feb 22, 2024 13:214,80838,422,45013,335,0002,051,0002,265,088
5Feb 22, 2024 13:214,81532,034,31813,353,0002,054,0002,273,280
6Feb 22, 2024 13:214,81636,334,71713,357,0002,055,0002,285,568
7Feb 22, 2024 13:214,82243,275,94714,402,0001,028,0002,265,088
8Feb 22, 2024 13:214,84034,061,17013,424,0002,065,0002,273,280
9Feb 22, 2024 13:214,85740,073,01214,506,0001,036,0002,273,280
10Feb 22, 2024 13:215,01077,372,28916,032,40802,297,856
11Feb 22, 2024 13:215,01686,336,89416,049,86902,301,952
12Feb 22, 2024 13:215,03275,271,86016,100,81802,187,264