結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
![]() |
提出日時 | 2017-12-25 13:27:25 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 227 bytes |
コンパイル時間 | 199 ms |
コンパイル使用メモリ | 31,232 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-17 19:41:59 |
合計ジャッジ時間 | 1,130 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 1 |
ソースコード
program main implicit none integer x,y,l integer ans read(*,*)x,y,l ans=ceiling(abs(dble(x)/l))+ceiling(abs(dble(y)/l)) if(y>=0)then else ans=ans+1 endif if(x/=0)ans=ans+1 write(*,*)ans end program main