mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-30 21:16:27 +00:00
24 lines
434 B (Stored with Git LFS)
C++
24 lines
434 B (Stored with Git LFS)
C++
/**
|
|
* @file checker.cpp
|
|
* @author Macesuted (i@macesuted.moe)
|
|
* @date 2021-10-28
|
|
*
|
|
* @copyright Copyright (c) 2021
|
|
*
|
|
*/
|
|
|
|
#include <bits/stdc++.h>
|
|
|
|
#include "testlib.h"
|
|
|
|
using namespace std;
|
|
|
|
int main(int argc, char* argv[]) {
|
|
registerTestlibCmd(argc, argv);
|
|
int n = inf.readInt();
|
|
for (int i = 1; i <= n; i++)
|
|
if (ouf.readInt() != i)
|
|
quitf(_wa, "Wrong Answer.");
|
|
quit(_ok, "Accepted!");
|
|
}
|