| ||||||||||
| 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 | |||||||||
我用"%lf"读入,得到了一堆WA,改成cin竟然直接ACIn Reply To:不就是一直用“%lf”,不知“失败”何意? Posted by:nkzgm at 2010-07-27 11:02:42 double x,y;
scanf("%lf %lf",&x,&y);
map[(int)x][(int)y]++;
//这个是WA
double x,y;
cin>>x>>y;
map[(int)x][(int)y]++;
//这个是ac
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator