結果

問題 No.405 ローマ数字の腕時計
ユーザー surprise_tanakasurprise_tanaka
提出日時 2018-11-27 14:57:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 1,244 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-09-05 20:50:13
合計ジャッジ時間 2,513 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 16 ms
7,800 KB
testcase_04 AC 15 ms
7,816 KB
testcase_05 AC 16 ms
7,900 KB
testcase_06 WA -
testcase_07 AC 15 ms
7,864 KB
testcase_08 AC 16 ms
7,952 KB
testcase_09 AC 16 ms
7,768 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 15 ms
7,852 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 15 ms
7,852 KB
testcase_17 AC 16 ms
7,800 KB
testcase_18 AC 15 ms
7,808 KB
testcase_19 AC 15 ms
7,828 KB
testcase_20 WA -
testcase_21 AC 15 ms
7,780 KB
testcase_22 WA -
testcase_23 AC 16 ms
7,840 KB
testcase_24 AC 15 ms
7,936 KB
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

S1,T = map(str,input().split())
d = {"I":1,"II":2,"III":3,"IIII":4,"V":5,"VI":6,"VII":7,"VIII":8,"IX":9,"X":10,"XI":11,"XII":0}
for key,value in d.items():
    if value == d[S1] + int(T) % 12:
        print(key)
        break
0