結果
| 問題 | No.3546 Robot on Torus (All Language) |
| コンテスト | |
| ユーザー |
urutom
|
| 提出日時 | 2026-05-17 13:58:01 |
| 言語 | Ruby (4.0.2) |
| 結果 |
AC
|
| 実行時間 | 554 ms / 2,000 ms |
| コード長 | 120 bytes |
| 記録 | |
| コンパイル時間 | 490 ms |
| コンパイル使用メモリ | 8,704 KB |
| 実行使用メモリ | 23,808 KB |
| スコア | 244 |
| 最終ジャッジ日時 | 2026-05-17 13:58:12 |
| 合計ジャッジ時間 | 8,752 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
コンパイルメッセージ
Syntax OK
ソースコード
gets;p=(s=gets p)=~/R/;w=s=~/$/;puts s.bytes.find{s[q=(p+w+2)%s.size]<?#&&q-=w;s[q]<?.||!(p=q)}?[p/-~w+1,p%-~w+1]:"loop"
urutom