結果
| 問題 |
No.2092 Conjugation
|
| コンテスト | |
| ユーザー |
沙耶花
|
| 提出日時 | 2022-10-07 21:21:33 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 477 bytes |
| コンパイル時間 | 3,808 ms |
| コンパイル使用メモリ | 253,716 KB |
| 最終ジャッジ日時 | 2025-02-07 22:45:07 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 2 WA * 16 |
ソースコード
#include <stdio.h>
#include <atcoder/all>
#include <bits/stdc++.h>
using namespace std;
using namespace atcoder;
using mint = modint998244353;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define Inf32 1000000001
#define Inf64 4000000000000000001
int main(){
int n;
cin>>n;
vector<int> a(n);
rep(i,n){
cin>>a[i];
}
sort(a.begin(),a.end());
for(int i=1;i<=a.back();i++){
cout<<distance(lower_bound(a.begin(),a.end(),i),a.end())<<endl;
}
return 0;
}
沙耶花