結果
| 問題 | No.504 ゲーム大会(ランキング) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-02-20 15:52:33 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 228 ms / 2,000 ms |
| コード長 | 195 bytes |
| 記録 | |
| コンパイル時間 | 505 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 20,828 KB |
| 最終ジャッジ日時 | 2026-04-25 01:53:27 |
| 合計ジャッジ時間 | 4,443 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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')