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 listMay 30, 2022 13:24Keichi TakahashiKeichi TakahashiScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:245,20652,435,02915,618,0001,041,0002,392,064
2May 30, 2022 13:245,21942,832,12815,658,0001,043,0002,392,064
3May 30, 2022 13:245,22935,961,03816,734,00002,265,088
4May 30, 2022 13:245,27051,167,44615,872,000992,0002,265,088
5May 30, 2022 13:245,27247,491,12616,871,00002,379,776
6May 30, 2022 13:245,27337,427,53115,880,000992,0002,383,872
7May 30, 2022 13:245,27338,136,23315,882,000992,0002,375,680
8May 30, 2022 13:245,27443,820,81614,892,0001,985,0002,265,088
9May 30, 2022 13:245,27537,716,75814,895,0001,986,0002,392,064
10May 30, 2022 13:245,45084,711,74917,441,05102,285,568
11May 30, 2022 13:245,45483,402,27917,452,23602,277,376
12May 30, 2022 13:245,45576,787,57517,455,63702,289,664