結果
| 問題 |
No.405 ローマ数字の腕時計
|
| コンテスト | |
| ユーザー |
oz4point5
|
| 提出日時 | 2019-03-30 15:06:10 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 246 bytes |
| コンパイル時間 | 359 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-11-14 13:39:26 |
| 合計ジャッジ時間 | 2,214 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 WA * 6 |
ソースコード
# -*- coding: utf-8 -*-
s1,t = input().split()
t = int(t)
cand = [0,"I","II","III","IIII","V","VI","VII","VIII","IX","X","XI","XII"]
for i in range(len(cand)):
if s1 == cand[i]:
s1 = i
ans = t + s1
ans = ans % 12
print(cand[ans])
oz4point5