結果
| 問題 |
No.504 ゲーム大会(ランキング)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-02-20 15:52:33 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 285 ms / 2,000 ms |
| コード長 | 195 bytes |
| コンパイル時間 | 247 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 17,764 KB |
| 最終ジャッジ日時 | 2024-10-08 18:59:45 |
| 合計ジャッジ時間 | 3,459 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
from itertools import accumulate N = int(input()) a0 = int(input()) gt = [1 if int(input()) > a0 else 0 for _ in range(N-1)] if gt: gt[0] += 1 ans = list(accumulate(gt)) print(1, *ans, sep='\n')