結果
問題 |
No.231 めぐるはめぐる (1)
|
ユーザー |
|
提出日時 | 2019-07-10 15:44:24 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 1,000 ms |
コード長 | 281 bytes |
コンパイル時間 | 111 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-15 15:11:04 |
合計ジャッジ時間 | 1,281 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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 -30000 * d if x * 6 < 3000000: l.append(0) else: l.append(1) if 1 in l: print('YES') for _ in range(6): print(l.index(1)) else: print('NO')