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 listAug 17, 2024 04:30Yuriy LyfenkoYuriy LyfenkoScore: 4,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 04:304,473536,338,33113,293,0001,022,0002,269,184
2Aug 17, 2024 04:304,480540,065,29213,313,0001,024,0002,265,088
3Aug 17, 2024 04:304,484543,735,21513,325,0001,025,0002,527,232
4Aug 17, 2024 04:304,493544,324,46014,379,00002,527,232
5Aug 17, 2024 04:304,496543,427,36613,359,0001,027,0002,527,232
6Aug 17, 2024 04:304,499536,332,68314,397,00002,527,232
7Aug 17, 2024 04:304,509537,696,74814,429,00002,527,232
8Aug 17, 2024 04:304,510540,712,28514,431,00002,527,232
9Aug 17, 2024 04:304,515538,307,47313,416,0001,032,0002,527,232
10Aug 17, 2024 04:304,625572,347,31114,800,09702,273,280
11Aug 17, 2024 04:304,651575,649,33814,883,76202,277,376
12Aug 17, 2024 04:304,653579,629,88414,889,43802,281,472