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:00HuynhHuynhScore: 5,594Success
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:005,58140,558,39116,867,000992,0002,424,832
2Jul 27, 2024 20:005,58541,859,18515,886,0001,985,0002,514,944
3Jul 27, 2024 20:005,58538,934,11214,893,0002,978,0002,269,184
4Jul 27, 2024 20:005,58634,286,84616,882,000993,0002,433,024
5Jul 27, 2024 20:005,58644,905,02716,883,000993,0002,428,928
6Jul 27, 2024 20:005,59240,821,28217,894,00002,269,184
7Jul 27, 2024 20:005,59433,454,97616,906,000994,0002,531,328
8Jul 27, 2024 20:005,60438,944,54915,941,0001,992,0002,269,184
9Jul 27, 2024 20:005,61245,490,59116,960,000997,0002,269,184
10Jul 27, 2024 20:005,79480,513,15818,539,94302,191,360
11Jul 27, 2024 20:005,81386,494,27518,600,84902,183,168
12Jul 27, 2024 20:005,84497,573,95118,699,80702,314,240