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 28, 2024 08:30BenBenScore: 4,667Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:304,64341,435,99813,866,000990,0002,392,064
2Jul 28, 2024 08:304,64635,643,91513,877,000991,0002,265,088
3Jul 28, 2024 08:304,64939,666,85412,894,0001,983,0002,392,064
4Jul 28, 2024 08:304,65028,496,41612,897,0001,984,0002,387,968
5Jul 28, 2024 08:304,65234,621,96513,893,000992,0002,392,064
6Jul 28, 2024 08:304,65333,273,64312,906,0001,985,0002,265,088
7Jul 28, 2024 08:304,66732,487,29512,942,0001,991,0002,392,064
8Jul 28, 2024 08:304,67738,254,83213,968,000997,0002,383,872
9Jul 28, 2024 08:304,69231,084,14913,013,0002,002,0002,383,872
10Jul 28, 2024 08:304,87673,618,85715,603,45902,269,184
11Jul 28, 2024 08:304,89392,872,40615,658,63502,289,664
12Jul 28, 2024 08:304,94086,861,23715,807,22702,289,664