結果
| 問題 |
No.504 ゲーム大会(ランキング)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-02-20 16:58:40 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 315 ms / 2,000 ms |
| コード長 | 174 bytes |
| コンパイル時間 | 245 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 20,928 KB |
| 最終ジャッジ日時 | 2024-10-08 19:01:51 |
| 合計ジャッジ時間 | 3,918 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
from itertools import accumulate N = int(input()) A = [int(input()) for _ in range(N)] gt = [1 if a > A[0] else 0 for a in A] gt[0]+=1 print(*list(accumulate(gt)), sep='\n')