結果
| 問題 |
No.504 ゲーム大会(ランキング)
|
| コンテスト | |
| ユーザー |
ngtkana
|
| 提出日時 | 2020-03-01 00:27:36 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 178 ms / 2,000 ms |
| コード長 | 244 bytes |
| コンパイル時間 | 1,519 ms |
| コンパイル使用メモリ | 166,008 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-13 20:23:37 |
| 合計ジャッジ時間 | 4,161 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
#include<bits/stdc++.h>
int main(){
int n;std::cin>>n;
int x;std::cin>>x;
int ans=1;
for(int i=0;i<n;i++){
if(i){
int y;std::cin>>y;
ans+=x<y;
}
std::cout<<ans<<std::endl;
}
}
ngtkana