結果
| 問題 | No.504 ゲーム大会(ランキング) | 
| コンテスト | |
| ユーザー |  focus | 
| 提出日時 | 2018-02-15 14:15:12 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 171 ms / 2,000 ms | 
| コード長 | 263 bytes | 
| コンパイル時間 | 554 ms | 
| コンパイル使用メモリ | 57,852 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-12-26 00:23:33 | 
| 合計ジャッジ時間 | 3,046 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 13 | 
ソースコード
#include<iostream>
#include<cmath>
using namespace std;
int main(){
    long long N,A,x,count=1;
    cin >> N >> A;
    cout << count<<endl;
    for(int i=1;i<N;i++){
        cin >> x;
        if(A<x) count++;
        cout << count << endl;
    }
    return 0;
}
            
            
            
        