結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
![]() |
提出日時 | 2017-06-13 14:04:15 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 134 bytes |
コンパイル時間 | 44 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-24 16:56:03 |
合計ジャッジ時間 | 1,095 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 24 |
ソースコード
x = int(raw_input()) y = int(raw_input()) l = int(raw_input()) c = (x + l - 1) % l + (y + l - 1) % l + 1 if y < 0: c += 1 print c