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 5, 2021 20:42evgenikwtevgenikwtScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 20:425,27042,317,31716,863,00002,527,232
2Jun 5, 2021 20:425,27646,567,27415,889,000993,0002,392,064
3Jun 5, 2021 20:425,27642,101,56515,890,000993,0002,502,656
4Jun 5, 2021 20:425,27642,947,50716,883,00002,265,088
5Jun 5, 2021 20:425,27734,929,84514,899,0001,986,0002,265,088
6Jun 5, 2021 20:425,27947,716,73015,838,0001,055,0002,392,064
7Jun 5, 2021 20:425,28135,830,00814,912,0001,988,0002,392,064
8Jun 5, 2021 20:425,29032,978,83714,938,0001,991,0002,494,464
9Jun 5, 2021 20:425,29240,311,50514,942,0001,992,0002,265,088
10Jun 5, 2021 20:425,48561,632,57017,551,25002,273,280
11Jun 5, 2021 20:425,49180,288,16717,572,38302,273,280
12Jun 5, 2021 20:425,50982,120,61417,627,38002,269,184