結果
| 問題 | No.3545 Robot on Torus (Python) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-18 03:07:59 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 57 ms / 2,000 ms |
| + 555µs | |
| コード長 | 150 bytes |
| 記録 | |
| コンパイル時間 | 69 ms |
| コンパイル使用メモリ | 80,764 KB |
| 実行使用メモリ | 75,264 KB |
| スコア | 487 |
| 最終ジャッジ日時 | 2026-09-28 04:06:56 |
| 合計ジャッジ時間 | 3,937 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
コンパイルメッセージ
Main.py:5: SyntaxWarning: invalid decimal literal
while 1:s[N:=(I-~(I%w>w-3or w))%len(s)]!='.'>exit(print([f"{I//w+1} {I%w+1}","loop"][a<s[N]]));I=N
ソースコード
a,*s=open(0)
w=len(s[0])
s="".join(s)
I=s.find('R')
while 1:s[N:=(I-~(I%w>w-3or w))%len(s)]!='.'>exit(print([f"{I//w+1} {I%w+1}","loop"][a<s[N]]));I=N