## Search found 13 matches

Fri Sep 28, 2007 10:22 am
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 36694

### why WA

I think my code gives the right answers but why WA please give some critical input /*problem for solving nCk Author :-Vivek Sharma */ #include<iostream> #include<cstdio> #include<cmath> using namespace std; int main() { long double n,k;//binomial coefficient while(cin>>n>>k) { if(n==0&&k==0)...
Tue Mar 20, 2007 7:44 am
Forum: C
Topic: problem with c code
Replies: 5
Views: 5662
dear MF

the link provided by you is not working can u give some another link.
Mon Mar 19, 2007 7:57 am
Forum: C
Topic: problem with c code
Replies: 5
Views: 5662
thanx to both of you i got the point
Tue Feb 13, 2007 10:32 pm
Forum: C
Topic: problem with c code
Replies: 5
Views: 5662

### problem with c code

hi i have an problem with my c code
#include<iostream>
using namespace std;
int main()
{
int k=35;
printf("%d %d %d %d ",k==35,k=50,k,k>40);
return 0;
}

why the output of these problem is

0 50 35 0
Sun Feb 04, 2007 9:17 pm
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 37659
this problem drove me toward madness i got 20 presentation errors from judge tried all the combinations after reading previous post so plzzz help me
DELETED after -AC
thanx

Fri Feb 02, 2007 5:04 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 66488
thanx helloneo
i got AC its just by adding e-10 in my output
Fri Feb 02, 2007 4:27 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 66488
removed
Fri Feb 02, 2007 11:12 am
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 66488

### 10200

hi friend why i am getting time limit exceed
remove
Mon Jan 29, 2007 10:35 pm
Forum: Volume 5 (500-599)
Topic: 576 - Haiku Review
Replies: 50
Views: 18553
hi friends i tried all the sample input from the forum but still get WA #include<iostream> #include<string> using namespace std; int main() { string str; string test = "e/o/i"; while(getline(cin,str)) { if(str==test) { return 0; } else { int j=0; int count[3]; for(int i=0;i<3;i++) count =0...
Mon Jan 29, 2007 7:11 am
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 43008
hi friends this is my code dont know why i am getting wrong answer #include<iostream> #include<string> #include<stdio.h> using namespace std; int main() { float percen,m1,m2; char s1[30],s2[30]; int len1,len2,temp,temp2; while(cin.getline(s1,26)) { cin.getline(s2,26); int sum1=0,sum2=0; len1=strlen(...
Fri Nov 10, 2006 3:46 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 29131
Thanx nafi
got ACC after 30 submission
Mon Oct 16, 2006 9:49 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 29131

### 160-wa

here is my code cant find the error values are correct, format is correct but still get WA.....
so plz help me
CODE IS DELETED