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 listSep 9, 2021 15:17Andrey TsvetkovAndrey TsvetkovScore: 5,616Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2021 15:175,57942,920,14617,854,00002,498,560
2Sep 9, 2021 15:175,58732,746,14517,878,00002,392,064
3Sep 9, 2021 15:175,59042,499,13515,902,0001,987,0002,498,560
4Sep 9, 2021 15:175,59247,927,05516,901,000994,0002,490,368
5Sep 9, 2021 15:175,60545,938,67716,940,000996,0002,498,560
6Sep 9, 2021 15:175,61136,431,79715,960,0001,995,0002,334,720
7Sep 9, 2021 15:175,61674,397,65617,971,13302,203,648
8Sep 9, 2021 15:175,62041,504,45916,984,000999,0002,498,560
9Sep 9, 2021 15:175,62644,235,25216,004,0002,000,0002,506,752
10Sep 9, 2021 15:175,64964,092,12418,077,03802,203,648
11Sep 9, 2021 15:175,64934,110,09816,070,0002,008,0002,342,912
12Sep 9, 2021 15:175,73486,621,64518,347,59902,195,456