WA...cant fix the bug
#include<cstdio>
#include<iostream>
#include<sstream>
#include<algorithm>
#include<cstdlib>
#include<queue>
#include<vector>
#include<cstring>
#include<map>
using namespace std;
char L[1024];
vector<string>graph;
int adjmatrix[256][256],n;
bool visited[256];
int dist[256 ...
Search found 3 matches
- Mon Nov 26, 2012 6:45 pm
- Forum: Volume 4 (400-499)
- Topic: 429 - Word Transformation
- Replies: 82
- Views: 32153
- Sat Jul 07, 2012 9:53 pm
- Forum: Volume 1 (100-199)
- Topic: 191 - Intersection
- Replies: 103
- Views: 33690
Re: 191 WA , plizzzzzzzzzzzz help me
can anyone help me finding the bug????
#include<iostream>
#include<algorithm>
using namespace std;
class Point{
public:
int x,y;
void input(int a,int b);
};
void Point:: input(int a,int b)
{ x=a;
y=b;
return ;
}
int cross(Point pi,Point pj,Point pk)
{ int a,b;
//cout<<"calling cross ...
#include<iostream>
#include<algorithm>
using namespace std;
class Point{
public:
int x,y;
void input(int a,int b);
};
void Point:: input(int a,int b)
{ x=a;
y=b;
return ;
}
int cross(Point pi,Point pj,Point pk)
{ int a,b;
//cout<<"calling cross ...
- Thu Jul 05, 2012 1:15 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11995 - I Can Guess the Data Structure!
- Replies: 60
- Views: 19188
Re: 11995 - I Can Guess the Data Structure!
Can anyone help me?I m continuously getting runtime error...

Code: Select all
removed after AC