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 20, 2024 11:51Matt StuchlikMatt StuchlikScore: 4,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:514,66032,022,06112,924,0001,988,0002,277,376
2Jul 20, 2024 11:514,66833,378,65912,945,0001,991,0002,289,664
3Jul 20, 2024 11:514,67535,421,66012,967,0001,994,0002,285,568
4Jul 20, 2024 11:514,67731,772,65012,971,0001,995,0002,289,664
5Jul 20, 2024 11:514,67739,387,76212,972,0001,995,0002,289,664
6Jul 20, 2024 11:514,68337,905,51412,989,0001,998,0002,289,664
7Jul 20, 2024 11:514,68632,650,05212,995,0001,999,0002,289,664
8Jul 20, 2024 11:514,69743,386,98613,027,0002,004,0002,289,664
9Jul 20, 2024 11:514,71732,164,21813,083,0002,012,0002,289,664
10Jul 20, 2024 11:514,94576,580,29615,824,97002,293,760
11Jul 20, 2024 11:514,94988,951,12315,837,31402,293,760
12Jul 20, 2024 11:514,95682,452,64515,857,91902,293,760