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 |
怎么会是WA呢?怎么回事WA呢? #include <cstdio> int main() { int n,r,e,c,q; scanf("%d",&n); while(n--) { scanf("%d %d %d",&r,&e,&c); q=e-c; if(r<q) printf("advertise\n"); else if(r>q) printf("do not advertise\n"); else if(r=q) printf("does not matter\n"); } } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator