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 28, 2021 15:21Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:2100000exit with code 1: alg:0 fwd:6528 mode:3 time:14497
2May 28, 2021 15:215,16137,084,92315,484,0001,032,0002,396,160
3May 28, 2021 15:215,16840,756,04715,505,0001,033,0002,387,968
4May 28, 2021 15:215,17332,700,73216,554,00002,510,848
5May 28, 2021 15:215,17638,186,86715,527,0001,035,0002,387,968
6May 28, 2021 15:215,17640,862,16115,527,0001,035,0002,265,088
7May 28, 2021 15:215,17835,516,51516,569,00002,392,064
8May 28, 2021 15:215,19741,708,21415,590,0001,039,0002,396,160
9May 28, 2021 15:215,20343,227,91615,610,0001,040,0002,392,064
10May 28, 2021 15:215,20944,799,30115,627,0001,041,0002,510,848
11May 28, 2021 15:215,37267,652,73017,188,92202,273,280
12May 28, 2021 15:215,39755,669,16617,269,80702,281,472
13May 28, 2021 15:215,42277,258,38617,349,48202,277,376