Search found 3 matches

by naved92
Mon Nov 26, 2012 6:45 pm
Forum: Volume 4 (400-499)
Topic: 429 - Word Transformation
Replies: 82
Views: 17542

Re: 429 Word Transformation

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]; void...
by naved92
Sat Jul 07, 2012 9:53 pm
Forum: Volume 1 (100-199)
Topic: 191 - Intersection
Replies: 103
Views: 18665

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"<<endl; a=(pk.x-...
by naved92
Thu Jul 05, 2012 1:15 pm
Forum: Volume 119 (11900-11999)
Topic: 11995 - I Can Guess the Data Structure!
Replies: 60
Views: 7324

Re: 11995 - I Can Guess the Data Structure!

Can anyone help me?I m continuously getting runtime error...:(

Code: Select all

removed after AC

Go to advanced search