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 |
Re:题意不清 应该这样In Reply To:题意不清 应该这样 Posted by:yanzhengfei at 2009-07-29 16:32:06 while(n--) { scanf("%d. %s %d",&dh,s,&yh); for(i=0;i<19;i++) if(!strcmp(str[i],s)) break; days=365*yh+i*20+dh; yt=days/260; days=days-yt*260; dt=days%13+1; k=days%20; printf("%d %s %d\n",dt,nt[k],yt); } 这段代码为什么输入输出不能用"cin",'cout"呢 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator