結果
| 問題 |
No.504 ゲーム大会(ランキング)
|
| コンテスト | |
| ユーザー |
mine691
|
| 提出日時 | 2018-09-30 00:25:23 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 175 ms / 2,000 ms |
| コード長 | 211 bytes |
| コンパイル時間 | 488 ms |
| コンパイル使用メモリ | 63,836 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-12 08:55:27 |
| 合計ジャッジ時間 | 2,809 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
#include<iostream>
using namespace std;
int main() {
int n, a;
cin >> n >> a;
int ans = 1;
cout << 1 << endl;
for (int i = 1;i < n;i++) {
int b;
cin >> b;
if (b > a)ans++;
cout << ans << endl;
}
}
mine691