結果
| 問題 |
No.998 Four Integers
|
| コンテスト | |
| ユーザー |
nehan_der_thal
|
| 提出日時 | 2020-02-28 22:12:26 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 1,000 ms |
| コード長 | 174 bytes |
| コンパイル時間 | 435 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2024-11-30 23:07:57 |
| 合計ジャッジ時間 | 1,840 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
a, b, c, d = sorted(list(map(int, input().split())))
if len(set([a,b,c,d])) == 4:
if a + 3 == d:
print("Yes")
else:
print("No")
else:
print("No")
nehan_der_thal