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 19, 2024 10:01Matt StuchlikMatt StuchlikScore: 5,446Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:015,39740,897,22015,238,0002,031,0002,277,376
2Jul 19, 2024 10:015,41341,058,06515,283,0002,037,0002,289,664
3Jul 19, 2024 10:015,41437,883,37815,286,0002,038,0002,289,664
4Jul 19, 2024 10:015,41538,586,39015,291,0002,038,0002,289,664
5Jul 19, 2024 10:015,43044,918,13117,376,00002,273,280
6Jul 19, 2024 10:015,44136,979,14115,363,0002,048,0002,289,664
7Jul 19, 2024 10:015,44634,430,28116,403,0001,025,0002,289,664
8Jul 19, 2024 10:015,45839,367,67616,437,0001,027,0002,289,664
9Jul 19, 2024 10:015,46839,557,21416,467,0001,029,0002,363,392
10Jul 19, 2024 10:015,642101,101,83018,052,88502,179,072
11Jul 19, 2024 10:015,68385,481,68818,184,05902,297,856
12Jul 19, 2024 10:015,71283,306,96218,278,43402,183,168