did you handle the case of one column only ???? so you won't need space after path as it will me one character only .... also make sure there is no extra spaces at the end of output ... and my AC code was with only one space separating each row number in the path more than one space got me PE
Regards
Search found 5 matches
- Fri Aug 13, 2010 7:06 am
- Forum: Volume 1 (100-199)
- Topic: 116 - Unidirectional TSP
- Replies: 226
- Views: 65232
- Fri Aug 13, 2010 12:56 am
- Forum: Volume 103 (10300-10399)
- Topic: 10337 - Flight Planner
- Replies: 20
- Views: 12603
Re: 10337 - Flight Planner
i got LOTS OF WAs :S:S:S is there any test cases plz ?!!!
- Tue Apr 13, 2010 12:35 pm
- Forum: Volume 4 (400-499)
- Topic: 454 - Anagrams
- Replies: 97
- Views: 36153
Re: 454 Anagrams
THANKS i got AC finally .... i was converting to lower case letters but seems to be no need for that
THX

- Tue Apr 13, 2010 12:25 pm
- Forum: Volume 4 (400-499)
- Topic: 454 - Anagrams
- Replies: 97
- Views: 36153
Re: 454 Anagrams
please can anybody tell me why this code is giving WA !!!!
i compared outputs with AC one and still WA
#include<iostream>
#include<sstream>
#include<string>
#include<vector>
#include<set>
#include<fstream>
using namespace std;
bool check(string a,string b)
{
if(a<=b)return true;
else return ...
i compared outputs with AC one and still WA
#include<iostream>
#include<sstream>
#include<string>
#include<vector>
#include<set>
#include<fstream>
using namespace std;
bool check(string a,string b)
{
if(a<=b)return true;
else return ...
- Mon Apr 12, 2010 11:35 am
- Forum: Volume 4 (400-499)
- Topic: 454 - Anagrams
- Replies: 97
- Views: 36153
Re: 454 Anagrams
hii .. can anybody plz give me his AC exe program .... and i want to know how i recognize the end of the last test case as there is no blank line after it?? THX in advance meroboy_66@hotmail.com