結果
| 問題 |
No.218 経験値1.5倍
|
| コンテスト | |
| ユーザー |
第一のいっちー
|
| 提出日時 | 2020-07-08 12:07:12 |
| 言語 | Go (1.23.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 481 bytes |
| コンパイル時間 | 10,293 ms |
| コンパイル使用メモリ | 227,020 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-03 08:57:21 |
| 合計ジャッジ時間 | 11,383 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 WA * 18 |
ソースコード
package main
import(
"fmt"
"os"
"bufio"
"strconv"
)
var sc = bufio.NewScanner(os.Stdin)
func main() {
ep, epForNormal, epForSpecial := nextLine(), nextLine(), nextLine()
normalTimes := float64(ep / epForNormal)
specialTimes := float64(ep / epForSpecial)
a := specialTimes / normalTimes
b := 0.6666666666666666
if a > b {
fmt.Println("YES")
} else {
fmt.Println("NO")
}
}
func nextLine() int64 {
sc.Scan()
i, _ := strconv.Atoi(sc.Text())
return int64(i)
}
第一のいっちー