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 27, 2024 16:29Matt StuchlikMatt StuchlikScore: 4,772Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 16:294,74539,118,19714,172,0001,012,0002,535,424
2Jul 27, 2024 16:294,75036,506,84214,188,0001,013,0002,273,280
3Jul 27, 2024 16:294,75232,602,23214,192,0001,013,0002,535,424
4Jul 27, 2024 16:294,75531,910,78014,203,0001,014,0002,428,928
5Jul 27, 2024 16:294,76437,811,63013,214,0002,032,0002,437,120
6Jul 27, 2024 16:294,76741,799,41913,221,0002,034,0002,535,424
7Jul 27, 2024 16:294,77247,575,80315,271,00002,433,024
8Jul 27, 2024 16:294,78136,066,93915,298,00002,424,832
9Jul 27, 2024 16:294,78537,905,68414,292,0001,020,0002,535,424
10Jul 27, 2024 16:295,00187,695,17716,003,15002,183,168
11Jul 27, 2024 16:295,01767,566,73816,054,03902,174,976
12Jul 27, 2024 16:295,05179,925,20616,161,71702,318,336