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 27, 2021 22:51gchebanovgchebanovScore: 5,377Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:515,31133,832,07014,995,0001,999,0002,265,088
2Jun 27, 2021 22:515,34042,761,60015,079,0002,010,0002,387,968
3Jun 27, 2021 22:515,35246,767,72816,119,0001,007,0002,265,088
4Jun 27, 2021 22:515,36735,943,38915,153,0002,020,0002,527,232
5Jun 27, 2021 22:515,37535,953,11715,176,0002,023,0002,383,872
6Jun 27, 2021 22:515,37737,683,88216,194,0001,012,0002,383,872
7Jun 27, 2021 22:515,37749,369,92615,183,0002,024,0002,392,064
8Jun 27, 2021 22:515,39345,587,91016,244,0001,015,0002,265,088
9Jun 27, 2021 22:515,40937,874,34315,274,0002,036,0002,265,088
10Jun 27, 2021 22:515,54371,287,70917,738,42002,281,472
11Jun 27, 2021 22:515,54871,842,19717,752,29002,281,472
12Jun 27, 2021 22:515,56979,350,80217,820,94202,273,280