結果

問題 No.405 ローマ数字の腕時計
ユーザー YCescaYCesca
提出日時 2016-09-04 07:47:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 8,008 KB
最終ジャッジ日時 2023-08-25 18:21:41
合計ジャッジ時間 1,409 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
7,788 KB
testcase_01 AC 13 ms
7,836 KB
testcase_02 AC 12 ms
7,864 KB
testcase_03 AC 14 ms
7,904 KB
testcase_04 AC 13 ms
7,868 KB
testcase_05 AC 13 ms
7,800 KB
testcase_06 WA -
testcase_07 AC 13 ms
7,824 KB
testcase_08 AC 13 ms
7,836 KB
testcase_09 WA -
testcase_10 AC 13 ms
7,840 KB
testcase_11 AC 13 ms
7,904 KB
testcase_12 WA -
testcase_13 AC 14 ms
7,860 KB
testcase_14 AC 14 ms
7,940 KB
testcase_15 AC 13 ms
7,972 KB
testcase_16 AC 13 ms
7,940 KB
testcase_17 WA -
testcase_18 AC 13 ms
7,928 KB
testcase_19 AC 14 ms
7,788 KB
testcase_20 AC 14 ms
7,796 KB
testcase_21 AC 14 ms
7,936 KB
testcase_22 AC 14 ms
7,840 KB
testcase_23 AC 13 ms
7,796 KB
testcase_24 AC 13 ms
7,976 KB
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

s1, t = input().split()
std = ["0","I","II","III","IIII","V","VI","VII","VIII","IX","X","XI","XII"] 
s = (std.index(s1) + int(t)) % 12 
s2 = std[s]
print(s2)
0