結果

問題 No.231 めぐるはめぐる (1)
ユーザー akitsugu777akitsugu777
提出日時 2019-07-10 15:35:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-10-15 14:23:50
合計ジャッジ時間 2,408 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

for _ in range(n):
    g, d = map(int, input().split())
    x = g -30000 * d
    if x * 6 < 3000000:
        print('NO')
        break
else:
    print('YES')
    print('\n'.join('1'*6))
0