Responsive image

This problem is in Contest(s) below:
Contest 1187:18软3--Week14
Contest 1188:18软1--week14