From 200530a6ca6b9e7132c6c1f43e785bcfffa30101 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sat, 7 May 2016 19:10:04 +0800 Subject: [PATCH] Create 7483.cpp Accepted on VirtualJudge Online : http://acm.hust.edu.cn/vjudge/contest/view.action?cid=115784#problem/F --- UVALive/7483.cpp | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 UVALive/7483.cpp diff --git a/UVALive/7483.cpp b/UVALive/7483.cpp new file mode 100644 index 0000000..949a33c --- /dev/null +++ b/UVALive/7483.cpp @@ -0,0 +1,50 @@ +/** +LINK= +http://acm.hust.edu.cn/vjudge/contest/view.action?cid=115784#problem/F +*/ +#include +#include +#include +#include +#include +#include + +using namespace std; + +#define MAXN 105 + +int main() +{ + int n; + while(scanf("%d",&n)==1) + { + vector pool[MAXN*2+8]; + for(int i=0;i