結果
問題 |
No.734 Careful Engineer
|
ユーザー |
![]() |
提出日時 | 2018-11-26 22:35:14 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 16,412 ms |
コンパイル使用メモリ | 254,912 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-20 00:45:32 |
合計ジャッジ時間 | 16,037 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
package main import "fmt" func main() { var hand, runCost, initCost int fmt.Scan(&hand, &runCost, &initCost) hand *= 60 initCost *= 3600 if hand <= runCost { fmt.Println(-1) return } fmt.Println((initCost-1)/(hand-runCost) + 1) }