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 |
这个那错了#include"stdio.h" void main() { int r,e,k; unsigned int c; int n,i; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d%d%d",&r,&e,&c); k=e-c; if(k==r) printf("does not matter\n"); else { if(k<r) printf("does not advertise\n"); else printf("advertise\n"); } } } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator