| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
这样感觉更好呢。戳进来看看In Reply To:其实输入一点也不恶心 Posted by:madrishing at 2013-06-15 22:53:49 前面的
scanf("%d:(%d)",&x,&y);
后面的
scanf("%d",&t);
while(t--){
while(getchar()!='(');
scanf("%d%d",&x,&y);
query[x].push_back(y);
query[y].push_back(x);
}
while(getchar()!=')');
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator