結果
| 問題 | No.998 Four Integers |
| コンテスト | |
| ユーザー |
splash9494
|
| 提出日時 | 2020-05-04 19:41:00 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 27 ms / 1,000 ms |
| コード長 | 148 bytes |
| 記録 | |
| コンパイル時間 | 400 ms |
| コンパイル使用メモリ | 85,164 KB |
| 実行使用メモリ | 53,956 KB |
| 最終ジャッジ日時 | 2026-03-11 01:38:18 |
| 合計ジャッジ時間 | 1,832 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
nums = sorted(list(map(int, input().split())))
for i in range(3):
if nums[i] != nums[i+1] - 1:
print('No')
exit()
print('Yes')
splash9494