結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
|
提出日時 | 2015-06-26 22:40:58 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 380 bytes |
コンパイル時間 | 193 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-07 17:47:39 |
合計ジャッジ時間 | 2,696 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 11 |
ソースコード
def read_data(): N = int(input()) Es = [] for i in range(N): g, d = map(int, input().split()) Es.append(g - 30000 * d, i + 1) return N, Es def solve(N, Es): Es.sort(reverse=True) x = 30000*100 e, i = Es[0] if e * 6 < x: print('NO') else: for t in range(6): print(i) N, Es = read_data() solve(N, Es)