結果

問題 No.231 めぐるはめぐる (1)
ユーザー tsuchinagatsuchinaga
提出日時 2019-02-27 22:07:39
言語 Go
(1.22.1)
結果
WA  
実行時間 -
コード長 281 bytes
コンパイル時間 9,984 ms
コンパイル使用メモリ 211,976 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-05 09:27:06
合計ジャッジ時間 12,448 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 1 ms
4,376 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 1 ms
4,384 KB
testcase_10 AC 1 ms
4,380 KB
testcase_11 AC 1 ms
4,380 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import "fmt"

func main() {
	var n, g, d int
	_, _ = fmt.Scan(&n)

	for i := 1; i <= n; i++ {
		_, _ = fmt.Scan(&g, d)

		if (g-d*30000)*6 >= 30000*100 {
			fmt.Println("YES")
			for j := 0; j < 6; j++ {
				fmt.Println(i)
			}
			return
		}
	}

	fmt.Println("NO")
}
0