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 12:40Matt StuchlikMatt StuchlikScore: 4,705Success
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 12:404,65932,927,02512,922,0001,988,0002,277,376
2Jul 20, 2024 12:404,66732,533,09412,944,0001,991,0002,289,664
3Jul 20, 2024 12:404,67732,076,18612,972,0001,995,0002,289,664
4Jul 20, 2024 12:404,68631,808,46513,996,000999,0002,273,280
5Jul 20, 2024 12:404,69130,676,17514,010,0001,000,0002,289,664
6Jul 20, 2024 12:404,69136,523,17113,010,0002,001,0002,289,664
7Jul 20, 2024 12:404,70532,269,02913,049,0002,007,0002,277,376
8Jul 20, 2024 12:404,71237,957,51113,069,0002,010,0002,289,664
9Jul 20, 2024 12:404,71531,981,10513,077,0002,011,0002,367,488
10Jul 20, 2024 12:404,94287,682,76915,812,90202,289,664
11Jul 20, 2024 12:404,96483,605,89715,883,56202,273,280
12Jul 20, 2024 12:404,97584,080,46915,921,42902,285,568