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:majia3 at 2005-07-23 00:20:12 gets(st); a=(st[0]-'0')*10+(st[1]-'0'); b=(st[3]-'0')*10+(st[4]-'0'); c=(st[6]-'0')*10+(st[7]-'0'); lat0=a+b/60.0+c/3600.0; if (st[10]=='S') 改成这样就过了 scanf("%d^%d'%d\" %s",&a,&b,&c,st); Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator