結果

問題 No.481 1から10
ユーザー maurice_1210maurice_1210
提出日時 2018-06-10 20:34:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 10,580 KB
実行使用メモリ 7,988 KB
最終ジャッジ日時 2023-09-13 02:43:49
合計ジャッジ時間 952 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,820 KB
testcase_01 AC 16 ms
7,828 KB
testcase_02 AC 16 ms
7,840 KB
testcase_03 AC 15 ms
7,988 KB
testcase_04 WA -
testcase_05 AC 15 ms
7,760 KB
testcase_06 AC 15 ms
7,840 KB
testcase_07 AC 15 ms
7,864 KB
testcase_08 AC 15 ms
7,840 KB
testcase_09 AC 14 ms
7,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

initial_input = input()
num = initial_input.split(" ")
ans = 0
for i in range(8):
    if int(num[i + 1]) - int(num[i]) == 2:
        ans = int(num[i]) + 1
        break
            
if ans == 0:
    ans = 10
print(ans)
0