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> int t,r,e,c; int main() { scanf("%d",&t); while(t--) { scanf("%d%d%d",&r,&e,&c); if(r<(e-c)) printf("advertise\n"); if(r>(e-c)) printf("do not advertise\n"); if(r==(e-c))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