Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

这样感觉更好呢。戳进来看看

Posted by Findxiaoxun at 2013-11-17 15:54:40 on Problem 1470
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator