結果
問題 |
No.734 Careful Engineer
|
ユーザー |
![]() |
提出日時 | 2018-11-26 22:32:36 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 9,462 ms |
コンパイル使用メモリ | 232,384 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-11 15:53:41 |
合計ジャッジ時間 | 10,219 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 2 WA * 8 |
ソースコード
package main import "fmt" func main() { var hand, runCost, initCost int fmt.Scan(&hand, &runCost, &initCost) if hand <= runCost { fmt.Println(-1) return } fmt.Println((initCost-1)/(hand-runCost) + 1) }