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 20:03HuynhHuynhScore: 5,506Success
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 20:035,48843,481,51217,561,00002,269,184
2Jul 27, 2024 20:035,48833,863,92416,530,0001,033,0002,433,024
3Jul 27, 2024 20:035,49244,883,66417,573,00002,428,928
4Jul 27, 2024 20:035,49538,820,55717,584,00002,428,928
5Jul 27, 2024 20:035,50042,059,05517,600,00002,437,120
6Jul 27, 2024 20:035,50347,319,91617,611,00002,433,024
7Jul 27, 2024 20:035,50644,754,95016,584,0001,036,0002,265,088
8Jul 27, 2024 20:035,50644,705,75117,620,00002,433,024
9Jul 27, 2024 20:035,58747,331,75516,886,000993,0002,428,928
10Jul 27, 2024 20:035,74960,359,14518,398,23802,187,264
11Jul 27, 2024 20:035,78681,800,26018,514,01602,314,240
12Jul 27, 2024 20:035,81184,062,02118,596,50502,174,976