diff --git a/HDOJ/5918.cpp b/HDOJ/5918.cpp new file mode 100644 index 0000000..1a93738 --- /dev/null +++ b/HDOJ/5918.cpp @@ -0,0 +1,36 @@ +#include +#include +#include +using namespace std; +#define MAXN 100000 +int a[MAXN]; +int b[MAXN]; +int main() +{ + int t; + scanf("%d",&t); + for(int cc=1;cc<=t;cc++) + { + int n,m,p; + scanf("%d %d %d",&n,&m,&p); + for(int i=0;i