結果
| 問題 | No.734 Careful Engineer |
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2018-11-26 22:32:36 |
| 言語 | Go (1.26.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 14,277 ms |
| コンパイル使用メモリ | 283,376 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-25 13:53:54 |
| 合計ジャッジ時間 | 15,385 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 5 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)
}
toshiro_yanagi