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 17, 2021 19:38Yuriy LyfenkoYuriy LyfenkoScore: 5,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:385,32787,809,55116,045,0001,002,0002,396,160
2May 17, 2021 19:385,33291,602,35714,930,0002,132,0002,519,040
3May 17, 2021 19:385,344314,560,89216,095,0001,005,0002,400,256
4May 17, 2021 19:385,35085,157,87317,119,00002,269,184
5May 17, 2021 19:385,353329,252,36515,114,0002,015,0002,269,184
6May 17, 2021 19:385,357167,632,76415,126,0002,016,0002,396,160
7May 17, 2021 19:385,360235,050,61215,246,0001,905,0002,269,184
8May 17, 2021 19:385,36595,339,75216,158,0001,009,0002,396,160
9May 17, 2021 19:385,368266,835,22416,223,000954,0002,383,872
10May 17, 2021 19:385,546292,804,26617,746,02602,277,376
11May 17, 2021 19:385,558352,957,91217,785,12502,277,376
12May 17, 2021 19:385,577140,692,13817,845,25102,277,376