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 |
new-line problemWrong: printf("%d",cnt); for(i=1;i<=n;++i) if(prt[i]) printf("\n%d %d",a[i].left,a[i].right); AC: printf("%d\n",cnt); for(i=1;i<=n;++i) if(prt[i]) printf("%d %d\n",a[i].left,a[i].right); I'm so tired... Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator