mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-27 11:31:59 +00:00
18 lines
383 B
C++
18 lines
383 B
C++
|
#include "testlib.h"
|
||
|
#include <bits/stdc++.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!");
|
||
|
}
|