Search found 16 matches
- Mon May 02, 2005 9:35 am
- Forum: Volume 101 (10100-10199)
- Topic: 10130 - SuperSale
- Replies: 76
- Views: 24429
10130
Hi, I am getting RTE(SIG.) . Can any one tell me ,what's wrong ? Following is my code. #include<stdio.h> #define max 500 #define MAX 1005 #define MYMAX(x,y) ((x>y?x:y)); int main(){ int C[max][max],i,N,MW,w,Wi[MAX],Vi[MAX]; int tcase,T_cost=0,persons; //freopen("input.txt","r",st...
- Tue Mar 29, 2005 9:14 am
- Forum: Volume 4 (400-499)
- Topic: 488 - Triangle Wave
- Replies: 270
- Views: 37659
Re: WA 488
Hi Raj Ariyan,
I got Ac just replacing ges() and ssanf() function by scanf() function ,nothing else .Not checking also last line \n.
Thanks.
Regards.
Rony
[Depressed]
I got Ac just replacing ges() and ssanf() function by scanf() function ,nothing else .Not checking also last line \n.
Thanks.
Regards.
Rony
[Depressed]
- Mon Mar 28, 2005 2:35 pm
- Forum: Volume 4 (400-499)
- Topic: 488 - Triangle Wave
- Replies: 270
- Views: 37659
WA 488
Hi,
Can any one check my code? I am getting WA continuousely. I think there is something silly mistake.Following is my code.
Code is removed after getting AC. If any one need any help mail me.
Regards
Rony.
Can any one check my code? I am getting WA continuousely. I think there is something silly mistake.Following is my code.
Code is removed after getting AC. If any one need any help mail me.
Regards
Rony.
- Wed Mar 23, 2005 1:11 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10827 - Maximum sum on a torus
- Replies: 52
- Views: 29024
Re: WA 10827
Rony wrote:Hi,
Can any one check my code ? What,s wrong ? I am getting WA. Following
is my code .
Code is Removed.
Thanks.
Regards
Rony
[Depressed]
- Sun Mar 13, 2005 10:11 am
- Forum: Volume 108 (10800-10899)
- Topic: 10827 - Maximum sum on a torus
- Replies: 52
- Views: 29024
- Thu Mar 10, 2005 3:03 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10827 - Maximum sum on a torus
- Replies: 52
- Views: 29024
10827 - Maximum sum on a torus
Hi,
Can any one check my code ? What,s wrong ? I am getting WA. Following
is my code .
Code is removed.
[Thanks.
Regards
Rony
[Depressed]
Can any one check my code ? What,s wrong ? I am getting WA. Following
is my code .
Code is removed.
[Thanks.
Regards
Rony
[Depressed]
- Sun Feb 27, 2005 8:34 am
- Forum: Volume 102 (10200-10299)
- Topic: 10203 - Snow Clearing
- Replies: 21
- Views: 4949
[/quote]Hi,
Turjo . Thanks . At last i got Acc after 10 WA's . If any one need any help plz mail me.
Regards
Rony(rony15bg@yahoo.com).
[[*Depressed*]]
- Sat Feb 26, 2005 8:54 am
- Forum: Volume 102 (10200-10299)
- Topic: 10203 - Snow Clearing
- Replies: 21
- Views: 4949
- Fri Feb 25, 2005 5:48 am
- Forum: Volume 102 (10200-10299)
- Topic: 10203 - Snow Clearing
- Replies: 21
- Views: 4949
10203
Hi, Can any one help me,what's wrong with the code that's why i am getting wrong answer ? Or, can any one give me some test cases? Here is my code. #include<stdio.h> #include<stdlib.h> #include<math.h> double x,y,a,b,c,d,r,sum,v,sec,min,hour,integer; int main(){ int tcase,n; v=50.0/9.0; //freopen(&q...
- Mon Nov 08, 2004 11:19 am
- Forum: Volume 104 (10400-10499)
- Topic: 10487 - Closest Sums
- Replies: 89
- Views: 31962
WA Please
Hi Wanderley, Can you please find out my problem. Here is my code #include<stdio.h> #include<stdlib.h> #include<math.h> int array[105],query; int n,i,m,sum,j,d; long long t_num; int compare(const void *a,const void *b); int main(){ int tcase; tcase=1; while(1){ scanf("%d",&n); if(!n) ...
- Sat Nov 06, 2004 4:45 am
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 24936
333 ISBN numbers WA
Hi, Can any one help me ? Why I am getting wrong answer ? Can any one give me some inputs/outputs or check my code where is the problem. Code C: #include<stdio.h> #include<string.h> #include<ctype.h> char str[100]; int i,counter,len,s1,s2; void str_rev(char *s){ int i,j; char temp; len = strlen(str...
- Fri Nov 05, 2004 7:38 am
- Forum: Volume 104 (10400-10499)
- Topic: 10487 - Closest Sums
- Replies: 89
- Views: 31962
- Tue Sep 28, 2004 6:28 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 29309
- Sun Sep 26, 2004 10:48 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 29309
your question is not clear! if you ask about middle of an array then : int lenthofarray; //some how you know it float halfofarray; int halfofarrayint; halfofarray=lenthofarray/2.0; halfofarrayint= halfofarray; //one kind of type casting if(halfofarrayint == halfofarray) // then two middle print -- ...
- Sat Sep 25, 2004 9:17 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 29309
p-406
Hi, Anyone can give me algorithm to find the middle and print the list . Pleaseeeeeeeeeee Hi, A1, I think you have'nt understand my question . For prime cuts problem I want to know the algo to find out the mid point and print the result because i have tried so many times but failed . There is a cond...