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 listJul 5, 2021 23:40Yuriy LyfenkoYuriy LyfenkoScore: 5,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2021 23:405,26834,389,53916,856,00002,265,088
2Jul 5, 2021 23:405,27544,609,11614,894,0001,985,0002,392,064
3Jul 5, 2021 23:405,27643,211,68314,898,0001,986,0002,265,088
4Jul 5, 2021 23:405,30744,897,29615,983,000998,0002,265,088
5Jul 5, 2021 23:405,30735,462,86915,984,000999,0002,387,968
6Jul 5, 2021 23:405,30942,701,96815,989,000999,0002,527,232
7Jul 5, 2021 23:405,31444,132,86615,004,0002,000,0002,519,040
8Jul 5, 2021 23:405,33134,083,38915,053,0002,007,0002,265,088
9Jul 5, 2021 23:405,33733,631,20616,073,0001,004,0002,392,064
10Jul 5, 2021 23:405,47984,917,05217,532,95802,273,280
11Jul 5, 2021 23:405,48093,045,63617,535,70602,273,280
12Jul 5, 2021 23:405,49089,834,98917,567,89002,281,472