any one kindly help me.........getting frequent wa's :evil:
#include<stdio.h>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include<set>
#include<queue>
#include<stack>
#include<list>
#include<iostream>
#include<fstream>
#include<numeric>
#include ...
Search found 7 matches
- Wed Nov 13, 2013 3:40 am
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 39071
- Sun Oct 27, 2013 8:36 am
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 29970
Re: unix is-400 .................wa......plz help
ive edited else last loop like this......but still wa......u've been a great helper ......thanx in advance
for (j=0; j<row ; j++ )
{
{
for (i=0; i<col ; i++)
{
if(i!=col-1)
{
v=better+2;
// printf("%s",str[i*row+j].c_str());//previous code
printf("%-*s",v,str[i*row+j].c_str());
}
else ...
for (j=0; j<row ; j++ )
{
{
for (i=0; i<col ; i++)
{
if(i!=col-1)
{
v=better+2;
// printf("%s",str[i*row+j].c_str());//previous code
printf("%-*s",v,str[i*row+j].c_str());
}
else ...
- Fri Oct 25, 2013 2:18 am
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 29970
Re: unix is-400 .................wa......plz help
brother
i've optimized it like this but still wa !
#include<cstdio>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include<set>
#include<queue>
#include<stack>
#include<list>
#include<iostream>
#include<fstream>
#include<numeric>
#include<string ...
i've optimized it like this but still wa !
#include<cstdio>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include<set>
#include<queue>
#include<stack>
#include<list>
#include<iostream>
#include<fstream>
#include<numeric>
#include<string ...
- Thu Oct 24, 2013 5:44 pm
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 29970
unix is-400 .................wa......plz help
:cry:
#include<cstdio>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include<set>
#include<queue>
#include<stack>
#include<list>
#include<iostream>
#include<fstream>
#include<numeric>
#include<string>
#include<vector>
#include<cstring>
#include<map ...
#include<cstdio>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include<set>
#include<queue>
#include<stack>
#include<list>
#include<iostream>
#include<fstream>
#include<numeric>
#include<string>
#include<vector>
#include<cstring>
#include<map ...
- Thu Oct 03, 2013 10:28 pm
- Forum: Volume 4 (400-499)
- Topic: 429 - Word Transformation
- Replies: 82
- Views: 32055
wa in 429 – Word Transformation
any one help me ...........i am getting wa ...but cant get the reason........i am preety much confident about almost all the test cases......thanks in avdance for replying
:cry:
#include<cstdio>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include ...
:cry:
#include<cstdio>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include ...
- Thu Oct 03, 2013 10:23 pm
- Forum: Volume 1 (100-199)
- Topic: 147 - Dollars
- Replies: 233
- Views: 50997
Re: 147 .........wa
tnx bro...... 

- Sat Sep 28, 2013 11:38 am
- Forum: Volume 1 (100-199)
- Topic: 147 - Dollars
- Replies: 233
- Views: 50997
147 .........wa
getting frequent wa 's..........any1 plz help
:oops: :oops:
#include<cstdio>
#include<iostream>
#include <cstring>
#define max 30000
using namespace std;
long long int c=30001,len,dp[12][max],coin[]= {5,10,20,50,100,
200,500,1000,2000,5000,10000};
long long int func(long long int i,long long ...
:oops: :oops:
#include<cstdio>
#include<iostream>
#include <cstring>
#define max 30000
using namespace std;
long long int c=30001,len,dp[12][max],coin[]= {5,10,20,50,100,
200,500,1000,2000,5000,10000};
long long int func(long long int i,long long ...