A問題 テレビ
1 2 3 4 5 |
w,h = map(int,input().split()) if w%16==0 and h%9==0: print('16:9') elif w%4==0 and h%3==0: print('4:3') |
1 2 3 4 5 |
w,h = map(int,input().split()) if w%16==0 and h%9==0: print('16:9') elif w%4==0 and h%3==0: print('4:3') |
コメント