| ||||||||||
| 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 | |||||||||
似乎是数据少了,我这个检验代码得到TLEIn Reply To:1005有非法数据,请检查 Posted by:tekkie at 2008-09-27 19:04:39 #include <cstdio>
#include <string>
#include <vector>
using namespace std;
int main() {
int T, n, m, S, t1, t2;
scanf("%d",&T);
while (T--) {
if (scanf("%d %d %d",&n,&m,&S) != 3) while (1);
while (m--) {
if (scanf("%d %d",&t1,&t2) != 2) while (1);
}
}
return 0;
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator