提出 #31063353


ソースコード 拡げる

Copy
a, b, c = map(int, input().split())
m = a
if m > b:
m = b
if m > c:
m = c
print(a + b + c - m)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
a, b, c = map(int, input().split())
m = a
if m > b:
    m = b
if m > c:
    m = c
print(a + b + c - m)

提出情報

提出日時
問題 A - 試験 (Exam)
ユーザ Pro_ktmr
言語 PyPy3 (7.3.0)
得点 100
コード長 108 Byte
結果 AC
実行時間 174 ms
メモリ 60720 KB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 13
セット名 テストケース
Sample sample-01.txt, sample-02.txt, sample-03.txt
All 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, sample-01.txt, sample-02.txt, sample-03.txt
ケース名 結果 実行時間 メモリ
01-01.txt AC 174 ms 60348 KB
01-02.txt AC 51 ms 60720 KB
01-03.txt AC 47 ms 60580 KB
01-04.txt AC 48 ms 60436 KB
01-05.txt AC 50 ms 60660 KB
01-06.txt AC 51 ms 60684 KB
01-07.txt AC 57 ms 60556 KB
01-08.txt AC 49 ms 60644 KB
01-09.txt AC 50 ms 60564 KB
01-10.txt AC 47 ms 60692 KB
sample-01.txt AC 48 ms 60544 KB
sample-02.txt AC 50 ms 60532 KB
sample-03.txt AC 50 ms 60412 KB


2025-04-06 (日)
05:45:34 +00:00