結果

問題 No.632 穴埋め門松列
ユーザー Ryuto
提出日時 2018-01-23 18:46:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 1,000 ms
コード長 291 bytes
コンパイル時間 404 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 51,840 KB
最終ジャッジ日時 2024-12-26 03:41:12
合計ジャッジ時間 1,328 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

indat = input().split()
qindex = indat.index('?')

if qindex == 0:
    if int(indat[1]) < int(indat[2]):
        print('4')
    else:
        print('1')
elif qindex == 1:
    print('14')
elif qindex == 2:
    if int(indat[0]) > int(indat[1]):
        print('4')
    else:
        print('1')
0