結果
| 問題 | No.405 ローマ数字の腕時計 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-08-01 13:56:32 |
| 言語 | PHP (843.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 108 ms |
| コンパイル使用メモリ | 32,268 KB |
| 実行使用メモリ | 32,912 KB |
| 最終ジャッジ日時 | 2024-07-05 07:28:05 |
| 合計ジャッジ時間 | 1,859 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 9 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php
$array =array("XII","I","II","III","IIII","V","VI","VII","VIII","IX","X","XI");
$input=explode(" ",trim(fgets(STDIN)));
echo $array[(int)(array_search($input[0],$array)+$input[1])%12];