A問題 Chinchirorin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
a,b,c = map(int, input().split()) s=[] s.append(a) s.append(b) s.append(c) if a==b and b==c: print(a) elif a!=b and b!=c and c!=a: print(0) else: for i in range(3): if s.count(s[i])==1: print(s[i]) exit() |
コメント