結果

問題 No.998 Four Integers
ユーザー tomitomi
提出日時 2021-01-27 18:57:55
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 185 bytes
コンパイル時間 461 ms
コンパイル使用メモリ 10,616 KB
実行使用メモリ 8,020 KB
最終ジャッジ日時 2023-09-07 02:27:29
合計ジャッジ時間 2,789 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
7,860 KB
testcase_02 AC 16 ms
7,872 KB
testcase_03 AC 15 ms
7,824 KB
testcase_04 AC 16 ms
7,876 KB
testcase_05 AC 16 ms
7,876 KB
testcase_06 AC 16 ms
7,860 KB
testcase_07 AC 16 ms
7,796 KB
testcase_08 AC 16 ms
7,860 KB
testcase_09 AC 15 ms
7,876 KB
testcase_10 AC 15 ms
8,000 KB
testcase_11 AC 16 ms
7,924 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 16 ms
7,924 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 16 ms
7,856 KB
testcase_22 AC 16 ms
7,932 KB
testcase_23 AC 16 ms
7,796 KB
testcase_24 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d = map(int, input().split())
x = abs(a - b)
x += abs(a - c)
x += abs(a - d)
x += abs(b - c)
x += abs(b - d)
x += abs(c - d)
if (x == 0):
    print ("Yes")
else:
    print ("No")
0