結果

問題 No.405 ローマ数字の腕時計
ユーザー bellangeldindonbellangeldindon
提出日時 2019-05-09 16:11:47
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 6,652 KB
実行使用メモリ 6,064 KB
最終ジャッジ日時 2023-09-14 17:44:12
合計ジャッジ時間 2,053 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 11 ms
5,832 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 11 ms
6,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

romanclock = ['XII', 'I', 'II', 'III', 'IIII', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI']
inpt = raw_input().split()
S1 = inpt[0]
T = int(inpt[1])
now = -1
for i in range(0, 12):
	if S1 == romanclock[i]: now = i
print romanclock[(now+2)%12]
0