mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 03:31:59 +00:00
feat: add data for Hydro/system_test
This commit is contained in:
parent
ba7fe27e51
commit
20392031d1
4
Hydro/system_test/2/data/config.yaml
Normal file
4
Hydro/system_test/2/data/config.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
type: default
|
||||
|
||||
time: 0.5s
|
||||
memory: 256m
|
BIN
Hydro/system_test/2/data/data1.ans
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data1.ans
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data1.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data1.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data2.ans
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data2.ans
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data2.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data2.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data3.ans
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data3.ans
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data3.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data3.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data4.ans
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data4.ans
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data4.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data4.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data5.ans
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data5.ans
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/2/data/data5.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/2/data/data5.in
(Stored with Git LFS)
Normal file
Binary file not shown.
23
Hydro/system_test/3/data/checker.cc
Normal file
23
Hydro/system_test/3/data/checker.cc
Normal file
@ -0,0 +1,23 @@
|
||||
/**
|
||||
* @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!");
|
||||
}
|
19
Hydro/system_test/3/data/config.yaml
Normal file
19
Hydro/system_test/3/data/config.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
type: default
|
||||
|
||||
time: 1s
|
||||
memory: 256m
|
||||
|
||||
checker_type: testlib
|
||||
checker: checker.cc
|
||||
|
||||
cases:
|
||||
- input: data1.in
|
||||
- input: data2.in
|
||||
- input: data3.in
|
||||
- input: data4.in
|
||||
- input: data5.in
|
||||
- input: data6.in
|
||||
- input: data7.in
|
||||
- input: data8.in
|
||||
- input: data9.in
|
||||
- input: data10.in
|
BIN
Hydro/system_test/3/data/data1.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data1.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data10.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data10.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data2.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data2.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data3.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data3.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data4.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data4.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data5.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data5.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data6.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data6.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data7.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data7.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data8.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data8.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/3/data/data9.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/3/data/data9.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb1.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb1.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb1.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb1.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb10.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb10.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb10.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb10.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb11.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb11.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb11.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb11.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb12.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb12.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb12.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb12.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb13.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb13.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb13.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb13.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb14.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb14.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb14.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb14.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb15.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb15.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb15.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb15.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb16.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb16.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb16.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb16.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb17.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb17.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb17.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb17.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb18.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb18.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb18.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb18.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb19.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb19.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb19.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb19.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb2.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb2.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb2.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb2.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb20.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb20.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb20.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb20.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb3.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb3.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb3.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb3.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb4.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb4.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb4.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb4.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb5.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb5.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb5.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb5.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb6.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb6.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb6.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb6.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb7.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb7.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb7.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb7.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb8.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb8.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb8.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb8.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb9.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb9.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/5/data/aplusb9.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/5/data/aplusb9.out
(Stored with Git LFS)
Normal file
Binary file not shown.
4
Hydro/system_test/5/data/config.yaml
Normal file
4
Hydro/system_test/5/data/config.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
type: interactive
|
||||
time: 100ms
|
||||
memory: 64m
|
||||
interactor: interactor.cc
|
22
Hydro/system_test/5/data/interactor.cc
Normal file
22
Hydro/system_test/5/data/interactor.cc
Normal file
@ -0,0 +1,22 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "testlib.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
setName("Interactor A+B");
|
||||
registerInteraction(argc, argv);
|
||||
|
||||
// reads number of queries from test (input) file
|
||||
int a = inf.readInt();
|
||||
int b = inf.readInt();
|
||||
// writes query to the solution, endl makes flush
|
||||
cout << a << " " << b << endl;
|
||||
int ans;
|
||||
cin >> ans;
|
||||
if (a + b == ans)
|
||||
quitf(_ok, "!");
|
||||
else
|
||||
quitf(_wa, "?");
|
||||
}
|
BIN
Hydro/system_test/6/data/aplusb1.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb1.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb1.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb1.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb10.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb10.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb10.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb10.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb11.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb11.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb11.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb11.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb12.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb12.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb12.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb12.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb13.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb13.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb13.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb13.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb14.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb14.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb14.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb14.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb15.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb15.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb15.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb15.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb16.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb16.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb16.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb16.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb17.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb17.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb17.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb17.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb18.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb18.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb18.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb18.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb19.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb19.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb19.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb19.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb2.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb2.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb2.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb2.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb20.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb20.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb20.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb20.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb3.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb3.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb3.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb3.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb4.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb4.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb4.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb4.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb5.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb5.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb5.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb5.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb6.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb6.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb6.out
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb6.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Hydro/system_test/6/data/aplusb7.in
(Stored with Git LFS)
Normal file
BIN
Hydro/system_test/6/data/aplusb7.in
(Stored with Git LFS)
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user