Search found 1 match

by jafor.ruetcse13
Wed Jun 10, 2015 4:12 pm
Forum: Volume 114 (11400-11499)
Topic: 11498 - Division of Nlogonia
Replies: 4
Views: 1763

Re: 11498 - Division of Nlogonia

why the following code show time limit exist.......... #include<stdio.h> int main() { int k,c1,c2,x,y,i; while(scanf("%d\n",&k)!=0) { scanf("%d%d\n",&c1,&c2); for(i=0;i<k;i++){ scanf("%d%d\n",&x,&y); if(x>c1 && y>c2) printf("NE\n"); else if(x<c1 && y>c2) printf("NO\n"); else if(x<c1 && y<c2) printf(...

Go to advanced search