結果

問題 No.632 穴埋め門松列
ユーザー 夕叢霧香(ゆうむらきりか)夕叢霧香(ゆうむらきりか)
提出日時 2018-01-19 21:27:11
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 160 bytes
コンパイル時間 491 ms
コンパイル使用メモリ 87,004 KB
実行使用メモリ 71,432 KB
最終ジャッジ日時 2023-08-26 00:01:26
合計ジャッジ時間 1,581 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
71,232 KB
testcase_01 AC 60 ms
71,244 KB
testcase_02 AC 62 ms
71,196 KB
testcase_03 AC 59 ms
71,292 KB
testcase_04 AC 60 ms
71,432 KB
testcase_05 AC 60 ms
71,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

c1, c2, c3 = input().split()
if c2 == '?':
    print('14')
    exit()
if c1 == '?':
    print('1' if c2 > c3 else '4')
else:
    print('1' if c2 > c1 else '4')
0