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 listJun 3, 2021 18:23Yuriy LyfenkoYuriy LyfenkoScore: 5,025Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 18:234,987539,035,69413,964,0001,994,0002,281,472
2Jun 3, 2021 18:234,998537,954,29913,994,0001,999,0002,281,472
3Jun 3, 2021 18:235,009543,354,48314,025,0002,003,0002,273,280
4Jun 3, 2021 18:235,014537,274,17914,041,0002,005,0002,281,472
5Jun 3, 2021 18:235,016539,409,70915,048,0001,003,0002,273,280
6Jun 3, 2021 18:235,021539,235,57514,058,0002,008,0002,281,472
7Jun 3, 2021 18:235,025536,789,59315,075,0001,005,0002,273,280
8Jun 3, 2021 18:235,028538,407,86915,085,0001,005,0002,281,472
9Jun 3, 2021 18:235,036540,672,12114,100,0002,014,0002,273,280
10Jun 3, 2021 18:235,141573,389,85316,450,75902,293,760
11Jun 3, 2021 18:235,157575,895,68216,501,09702,256,896
12Jun 3, 2021 18:235,183576,735,87316,584,36602,289,664