結果

問題 No.1285 ゴミ捨て
ユーザー akitsugu777akitsugu777
提出日時 2020-12-15 14:01:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 97 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 11,636 KB
実行使用メモリ 20,676 KB
最終ジャッジ日時 2023-10-20 06:00:04
合計ジャッジ時間 2,268 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 29 ms
9,968 KB
testcase_02 AC 28 ms
9,968 KB
testcase_03 AC 28 ms
9,968 KB
testcase_04 AC 29 ms
9,968 KB
testcase_05 AC 29 ms
9,968 KB
testcase_06 AC 28 ms
10,032 KB
testcase_07 WA -
testcase_08 AC 30 ms
10,404 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 37 ms
11,720 KB
testcase_17 AC 38 ms
11,756 KB
testcase_18 AC 37 ms
11,644 KB
testcase_19 WA -
testcase_20 AC 36 ms
11,552 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N, *A = map(int, open(0).read().split())
A.sort()
print([1, 2][A[1] - A[0] == 1] if N > 1 else 1)
0