結果

問題 No.1013 〇マス進む
ユーザー otamay6
提出日時 2019-11-09 14:53:16
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 435 bytes
コンパイル時間 1,709 ms
コンパイル使用メモリ 171,040 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-15 04:27:30
合計ジャッジ時間 4,869 ms
ジャッジサーバーID
(参考情報)
judge6 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 62
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define REP(i,n) for(int i=0,i##_len=(n);i<i##_len;++i)
#define rep(i,a,b) for(int i=int(a);i<int(b);++i)
#define All(x) (x).begin(),(x).end()
using namespace std;
typedef long long ll;

int main(){
    int N,K;cin>>N>>K;
    assert(1<=N&&N<=100000);
    assert(1<=K&&K<=1000000000);
    vector<int> confirm(N),p(N);
    iota(All(confirm),1);
    REP(i,N) cin>>p[i];
    sort(All(p));
    assert(confirm==p);
}
0