結果

問題 No.231 めぐるはめぐる (1)
ユーザー kyo1kyo1
提出日時 2020-10-10 00:49:13
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 16 ms / 1,000 ms
コード長 238 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 8,312 KB
最終ジャッジ日時 2023-09-27 20:31:44
合計ジャッジ時間 1,301 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,172 KB
testcase_01 AC 15 ms
7,768 KB
testcase_02 AC 13 ms
7,740 KB
testcase_03 AC 15 ms
8,256 KB
testcase_04 AC 16 ms
8,184 KB
testcase_05 AC 14 ms
8,148 KB
testcase_06 AC 16 ms
8,160 KB
testcase_07 AC 14 ms
7,792 KB
testcase_08 AC 15 ms
8,304 KB
testcase_09 AC 13 ms
7,840 KB
testcase_10 AC 14 ms
7,792 KB
testcase_11 AC 14 ms
7,880 KB
testcase_12 AC 14 ms
8,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

res = [
    i
    for i, (g, d) in enumerate([map(int, input().split()) for _ in range(int(input()))])
    if 6 * (g - d * 30000) >= 30000 * 100
]
if res:
    print("YES")
    print("\n".join([str(res[0] + 1)] * 6))
else:
    print("NO")
0