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 27, 2021 19:02Yuriy LyfenkoYuriy LyfenkoScore: 5,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:025,05941,679,68314,166,0002,023,0002,523,136
2May 27, 2021 19:025,07944,439,82914,222,0002,031,0002,392,064
3May 27, 2021 19:025,08638,840,69515,258,0001,017,0002,265,088
4May 27, 2021 19:025,08842,021,57715,263,0001,017,0002,396,160
5May 27, 2021 19:025,09733,236,22714,272,0002,038,0002,383,872
6May 27, 2021 19:025,09946,501,11715,298,0001,019,0002,396,160
7May 27, 2021 19:025,12142,213,85215,364,0001,024,0002,265,088
8May 27, 2021 19:025,12237,490,59116,389,00002,400,256
9May 27, 2021 19:025,13137,398,15914,367,0002,052,0002,392,064
10May 27, 2021 19:025,26548,240,28716,847,54102,273,280
11May 27, 2021 19:025,28763,350,43216,917,16002,281,472
12May 27, 2021 19:025,30267,992,18616,967,05402,273,280