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 listMay 23, 2021 16:55Yuriy LyfenkoYuriy LyfenkoScore: 5,142Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 16:555,10337,863,41015,310,0001,020,0002,392,064
2May 23, 2021 16:555,11138,538,07615,332,0001,022,0002,265,088
3May 23, 2021 16:555,11139,447,15215,334,0001,022,0002,265,088
4May 23, 2021 16:555,12234,135,47815,365,0001,024,0002,527,232
5May 23, 2021 16:555,12341,039,98815,368,0001,024,0002,396,160
6May 23, 2021 16:555,13643,488,13515,408,0001,027,0002,392,064
7May 23, 2021 16:555,14235,840,92616,453,00002,392,064
8May 23, 2021 16:555,14542,029,92616,463,00002,510,848
9May 23, 2021 16:555,14632,062,19515,438,0001,029,0002,392,064
10May 23, 2021 16:555,37581,458,43617,198,92002,281,472
11May 23, 2021 16:555,39075,437,73517,248,98802,273,280
12May 23, 2021 16:555,40973,681,77717,308,71602,277,376