結果

問題 No.405 ローマ数字の腕時計
ユーザー hanorverhanorver
提出日時 2016-09-12 21:53:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 172 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 10,572 KB
実行使用メモリ 7,980 KB
最終ジャッジ日時 2023-08-25 18:23:02
合計ジャッジ時間 1,528 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,704 KB
testcase_01 AC 16 ms
7,780 KB
testcase_02 AC 16 ms
7,764 KB
testcase_03 AC 15 ms
7,728 KB
testcase_04 AC 15 ms
7,780 KB
testcase_05 AC 15 ms
7,808 KB
testcase_06 RE -
testcase_07 AC 15 ms
7,776 KB
testcase_08 AC 15 ms
7,860 KB
testcase_09 RE -
testcase_10 AC 15 ms
7,900 KB
testcase_11 AC 15 ms
7,772 KB
testcase_12 RE -
testcase_13 AC 15 ms
7,808 KB
testcase_14 AC 14 ms
7,728 KB
testcase_15 AC 15 ms
7,708 KB
testcase_16 AC 15 ms
7,908 KB
testcase_17 RE -
testcase_18 AC 14 ms
7,812 KB
testcase_19 AC 14 ms
7,860 KB
testcase_20 AC 15 ms
7,824 KB
testcase_21 AC 14 ms
7,780 KB
testcase_22 AC 15 ms
7,860 KB
testcase_23 AC 15 ms
7,808 KB
testcase_24 AC 15 ms
7,820 KB
testcase_25 RE -
testcase_26 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

s,t=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':12}
f={v:k for k,v in d.items()}
print(f[(d[s]+int(t)) % 12])
0