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 30, 2021 15:41Yuriy LyfenkoYuriy LyfenkoScore: 5,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:415,26842,686,66814,875,0001,983,0002,289,664
2May 30, 2021 15:415,26932,825,95415,870,000991,0002,289,664
3May 30, 2021 15:415,26940,617,31315,871,000991,0002,289,664
4May 30, 2021 15:415,27330,748,59814,888,0001,985,0002,392,064
5May 30, 2021 15:415,28836,427,04914,930,0001,990,0002,289,664
6May 30, 2021 15:415,29037,611,38714,937,0001,991,0002,289,664
7May 30, 2021 15:415,29338,853,10314,946,0001,992,0002,289,664
8May 30, 2021 15:415,29539,394,78014,950,0001,993,0002,289,664
9May 30, 2021 15:415,30345,826,63315,973,000998,0002,281,472
10May 30, 2021 15:415,51880,418,42717,657,17302,174,976
11May 30, 2021 15:415,55880,156,76517,784,24802,297,856
12May 30, 2021 15:415,57884,997,36817,849,33902,297,856