結果
| 問題 |
No.405 ローマ数字の腕時計
|
| コンテスト | |
| ユーザー |
aaaaa
|
| 提出日時 | 2017-05-18 21:51:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 137 bytes |
| コンパイル時間 | 212 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-18 19:12:36 |
| 合計ジャッジ時間 | 1,862 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 15 |
ソースコード
s,t=input().split();a=0;t=int(t)
for x in s:a+=5 if x=='V' else 10 if x =='X' else 1
a=(a+t)%12;print('X'*(a>9)+'V'*((a-10)>4)+'I'*(a%5))
aaaaa