結果
問題 |
No.231 めぐるはめぐる (1)
|
ユーザー |
|
提出日時 | 2019-07-10 15:50:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 1,000 ms |
コード長 | 247 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-15 15:21:12 |
合計ジャッジ時間 | 1,286 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 |
ソースコード
n = int(input()) l = [0] for _ in range(1, n+1): g, d = map(int, input().split()) x = g - 3*10**4 * d l.append([0, 1][x*6 >= 3*10**6]) if 1 in l: print('YES') for _ in range(6): print(l.index(1)) else: print('NO')