結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
|
提出日時 | 2020-08-28 14:42:37 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 305 bytes |
コンパイル時間 | 158 ms |
コンパイル使用メモリ | 82,504 KB |
実行使用メモリ | 61,056 KB |
最終ジャッジ日時 | 2024-11-09 01:15:37 |
合計ジャッジ時間 | 2,149 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 WA * 3 |
ソースコード
N = int(input())g = 0x = 0for i in range(N):G, D = map(int, input().split())if G - 30000 * D > g:g = G - 30000 * Dx = i + 1if g * 6 >= 300000:print('YES')print(x, x, x, x, x, x, sep='\n')else:print('NO')