From c8001f4c803c8fa58d9ee42c7d7456b430e18fea Mon Sep 17 00:00:00 2001 From: heerucan Date: Thu, 14 Apr 2022 23:45:56 +0900 Subject: [PATCH] [BOJ] 2480 --- BOJ/1003.py | 0 BOJ/2480.py | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 BOJ/1003.py create mode 100644 BOJ/2480.py diff --git a/BOJ/1003.py b/BOJ/1003.py new file mode 100644 index 0000000..e69de29 diff --git a/BOJ/2480.py b/BOJ/2480.py new file mode 100644 index 0000000..4decf93 --- /dev/null +++ b/BOJ/2480.py @@ -0,0 +1,16 @@ +a, b, c = list(map(int, input().split())) +data = [] +data.append(a) +data.append(b) +data.append(c) + +if a == b == c: + print(10000+a*1000) +elif a == b: + print(1000+a*100) +elif a == c: + print(1000 + a * 100) +elif b == c: + print(1000 + b * 100) +else: + print(max(data) * 100) \ No newline at end of file