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 listJun 8, 2024 21:34AndreyTSAndreyTSScore: 5,317Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:345,27436,146,67414,892,0001,985,0002,265,088
2Jun 8, 2024 21:345,27541,811,52015,887,000992,0002,289,664
3Jun 8, 2024 21:345,28435,050,77514,921,0001,989,0002,289,664
4Jun 8, 2024 21:345,29333,409,14314,946,0001,992,0002,285,568
5Jun 8, 2024 21:345,30040,565,72214,965,0001,995,0002,289,664
6Jun 8, 2024 21:345,31648,280,91315,011,0002,001,0002,531,328
7Jun 8, 2024 21:345,31733,534,19516,014,0001,000,0002,392,064
8Jun 8, 2024 21:345,32332,755,99415,031,0002,004,0002,269,184
9Jun 8, 2024 21:345,32537,426,05915,036,0002,004,0002,289,664
10Jun 8, 2024 21:345,50873,331,42917,625,80402,174,976
11Jun 8, 2024 21:345,53378,644,33817,705,36402,301,952
12Jun 8, 2024 21:345,559116,016,88317,789,04602,297,856