Search found 5 matches
- Tue Dec 01, 2009 4:34 pm
- Forum: ACM ICPC Archive Board
- Topic: 4445 A careful approach
- Replies: 2
- Views: 4670
Re: 4445 A careful approach
code deleted after getting acc.rounding was the main problem.
- Mon Nov 30, 2009 8:33 pm
- Forum: ACM ICPC Archive Board
- Topic: 4445 A careful approach
- Replies: 2
- Views: 4670
Re: 4445 A careful approach
my output is .43 and i think its ok.can anyone plz find the bug in my code or algo?
- Fri Nov 27, 2009 6:52 pm
- Forum: ACM ICPC Archive Board
- Topic: 4445 A careful approach
- Replies: 2
- Views: 4670
4445 A careful approach
Can any one give me some critical case ?
i can not understand what is wrong.....
getting wrong answer......my code is attached.can any one plz tell why getting wa?
i can not understand what is wrong.....
getting wrong answer......my code is attached.can any one plz tell why getting wa?
- Sun Oct 26, 2008 6:20 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10222 - Decode the Mad man
- Replies: 30
- Views: 14895
Re: 10222 - Decode the Mad Man
what's the wrong with my code? constantly getting wa..... #include<stdio.h> int main() { char n; while(scanf("%c",&n)==1) { if(n=='e'||n=='E')printf("q"); else if(n=='r'||n=='R')printf("w"); else if(n=='t'||n=='T')printf("e"); else if(n=='y'||n=='Y')printf...
- Wed Oct 08, 2008 10:20 am
- Forum: Volume 4 (400-499)
- Topic: 488 - Triangle Wave
- Replies: 270
- Views: 59342
Re: WA 488
where is the mistake?i m continuously getting wrong answer #include<stdio.h> int main() { int i,j,k,l,x,y,n; scanf("%d",&n); for(i=1;i<=n;i++) { printf("\n"); scanf("%d",&x); scanf("%d",&y); for(j=1;j<=y;j++) { for(k=1;k<=x;k++) { for(l=1;l<=k;l++)...