Search found 6 matches
- Sun Sep 09, 2007 7:30 pm
- Forum: Volume 1 (100-199)
- Topic: 190 - Circle Through Three Points
- Replies: 126
- Views: 19899
Why i am getting WA again & again. If can plzzzzzzzzz check my code or give me some i/o for which my code show WA. plzzzz #include<stdio.h> #include<math.h> main() { // freopen("input.txt","rt",stdin); // freopen("out.txt","wt",stdout); double x1,x2,x3,y1,y2,y3,a,b,g,f,r,c,eps=1e-7; char f_sign,g_si...
- Thu Sep 06, 2007 9:54 pm
- Forum: Volume 3 (300-399)
- Topic: 338 - Long Multiplication
- Replies: 59
- Views: 7295
i am tired getting WA. I have tested all the input of forum. Everything ok. But why WA in uva??? give my sample input & output or test my code #include<stdio.h> #include<string.h> int multiply(long long first, char *sec, char *ans) { long long carry,m; int len,i; char *p,*r,*q; p=sec; r=ans; carry=0...
- Fri Jun 29, 2007 8:42 am
- Forum: Volume 103 (10300-10399)
- Topic: 10324 - Zeros and Ones
- Replies: 179
- Views: 43519
Hi,,,i solve this problem and it shows correct output for all input. I also test all input from forum. But when,i submit it to online judge, i give me WA. Please give me some Sample Input,/output. Or test my code. Hope reply. Thanks in avance! Here my code: /*** Remove after getting AC. Thanks to Ja...
- Wed Jun 27, 2007 7:23 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10924 - Prime Words
- Replies: 44
- Views: 22420
why WA?????
I have do the problem and I sure its ok. But whats hell happen to online judge??? when i submit it, it show WA. Any one can help? Here my code- Code has removed after getting AC. I think this type problem should not proceed in ACM bcoz, here, in this problem a wrong information is used. (1 is prime!...
- Wed Jun 27, 2007 2:45 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10994 - Simple Addition
- Replies: 41
- Views: 15492
well, as i know befire that long long type integer have a range= 2^64 Which is in the range of 4.5billion So, what type problem has occured here, i can't understand. And by- Add a type to the constant by using the proper suffix, and it will be fine. "4500000000ll" will do. what you want to do, i can...
- Wed Jun 27, 2007 8:41 am
- Forum: Volume 109 (10900-10999)
- Topic: 10994 - Simple Addition
- Replies: 41
- Views: 15492
Why CE????
/* Remove Whole Messege as no help come */