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 |
why?why?why?#include<stdio.h> int main() { int n,j,i,iarr[3]; scanf("%d",&n); for(j=0;j<n;j++) { for(i=0;i<3;i++) scanf("%d",&iarr[i]); if(iarr[1]-iarr[2]==iarr[0]) printf("does not matter"); else if(iarr[1]-iarr[2]<iarr[0]) printf("does not advertise"); else if(iarr[1]-iarr[2]>iarr[0]) printf("advertise"); } return 0; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator