mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-09 01:18:47 +00:00
19 lines
426 B (Stored with Git LFS)
C++
19 lines
426 B (Stored with Git LFS)
C++
#include <bits/stdc++.h>
|
|
|
|
#include "testlib.h"
|
|
|
|
using ui = unsigned int;
|
|
|
|
signed main(int argc, char** argv) {
|
|
registerTestlibCmd(argc, argv);
|
|
|
|
int n = inf.readInt();
|
|
for (int i = 1; i <= n; ++i) {
|
|
ui x = ui(ouf.readLong()), y = ui(ouf.readLong());
|
|
if (x != y) {
|
|
quitp(1.0 * (i - 1) / n, "jury's anwser is %u, but your answer is %u", x, y);
|
|
}
|
|
}
|
|
quitf(_ok, "Accept!");
|
|
}
|