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 listJul 24, 2024 01:43emily graceemily graceScore: 4,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:434,66038,339,16212,924,0001,988,0002,289,664
2Jul 24, 2024 01:434,66739,111,21212,943,0001,991,0002,289,664
3Jul 24, 2024 01:434,67936,245,84412,976,0001,996,0002,285,568
4Jul 24, 2024 01:434,67935,022,46212,978,0001,996,0002,273,280
5Jul 24, 2024 01:434,68432,435,23612,992,0001,998,0002,289,664
6Jul 24, 2024 01:434,69340,153,27213,014,0002,002,0002,289,664
7Jul 24, 2024 01:434,69339,576,02813,014,0002,002,0002,289,664
8Jul 24, 2024 01:434,71131,730,66813,066,0002,010,0002,387,968
9Jul 24, 2024 01:434,77542,654,12113,243,0002,037,0002,269,184
10Jul 24, 2024 01:434,91685,865,50515,731,50202,256,896
11Jul 24, 2024 01:434,96491,439,07515,884,22902,297,856
12Jul 24, 2024 01:434,97279,911,92815,909,18202,297,856