A問題 AtCoDeerくんとペンキ
1 2 3 4 5 6 7 |
a,b,c = map(int, input().split()) if a != b and a != c and b != c: print(3) elif a == b == c: print(1) else: print(2) |
1 2 3 4 5 6 7 |
a,b,c = map(int, input().split()) if a != b and a != c and b != c: print(3) elif a == b == c: print(1) else: print(2) |
コメント