結果
| 問題 | No.231 めぐるはめぐる (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-01 22:19:14 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
AC
|
| 実行時間 | 94 ms / 1,000 ms |
| + 347µs | |
| コード長 | 205 bytes |
| 記録 | |
| コンパイル時間 | 298 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-08-25 21:16:18 |
| 合計ジャッジ時間 | 3,084 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 11 |
ソースコード
n = int(input())
t = [0] * n
for i in range(n):
g,d = map(int, input().split())
t[i] = g - 30000*d
if max(t) >= 500000:
print("YES")
c = t.index(max(t))+1
for _ in range(6): print(c)
else: print("NO")