Search found 12 matches

by Labib
Thu Mar 14, 2013 12:25 pm
Forum: Volume 4 (400-499)
Topic: 429 - Word Transformation
Replies: 82
Views: 16633

Re: 429 Word Transformation

I'm getting TLE on this problem... Any suggestion on what to do to avoid it??? # include <cstdio> # include <cstring> # include <iostream> # include <vector> # include <string> # include <map> # include <sstream> # include <queue> # include <algorithm> using namespace std; struct two { string s; int...
by Labib
Sun Mar 10, 2013 11:24 pm
Forum: Volume 100 (10000-10099)
Topic: 10032 - Tug of War
Replies: 91
Views: 31782

Re: 10032 - Tug of War

test cases for this problem are not strong enuf... I saw this code that gets AC but is not correct. #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #include <stack> #include <queue> #include <list> #include <vector> #include <map> #in...
by Labib
Sun Mar 10, 2013 1:11 pm
Forum: Volume 2 (200-299)
Topic: 222 - Budget Travel
Replies: 17
Views: 5298

Re: 222 - Budget Travel

Code: Select all

ac never mind
thanks in advance.
by Labib
Fri Mar 08, 2013 9:43 pm
Forum: Volume 100 (10000-10099)
Topic: 10036 - Divisibility
Replies: 37
Views: 10659

Re: 10036 - Divisibility

Thanks a lot bro :)
that was really helpful.. learnt something new!!
by Labib
Fri Mar 08, 2013 1:36 pm
Forum: Volume 100 (10000-10099)
Topic: 10036 - Divisibility
Replies: 37
Views: 10659

Re: 10036 - Divisibility

I don't see whats wrong with my code...
Getting WA. plz help, someone?
thanks in advance...

Code: Select all

AC :)
by Labib
Fri Mar 08, 2013 1:33 pm
Forum: Volume 100 (10000-10099)
Topic: 10009 - All Roads Lead Where?
Replies: 60
Views: 14094

Re: 10009 - All Roads Lead Where?

that's rilly weird
but thanks anyway brainfry! :)
by Labib
Fri Mar 08, 2013 1:31 pm
Forum: Volume 6 (600-699)
Topic: 662 - Fast Food
Replies: 22
Views: 10239

Re: 662 - Fast Food

thanks brainfry !!
AC :)
by Labib
Wed Mar 06, 2013 6:53 pm
Forum: Volume 115 (11500-11599)
Topic: 11518 - Dominos 2
Replies: 24
Views: 8447

Re: 11518 - Dominos 2

thanks brainfry :)
by Labib
Wed Mar 06, 2013 3:54 pm
Forum: Volume 6 (600-699)
Topic: 662 - Fast Food
Replies: 22
Views: 10239

Re: 662 - Fast Food

Why am I getting WA?? :'(
please help!!

Code: Select all

AC
by Labib
Tue Mar 05, 2013 10:27 pm
Forum: Volume 100 (10000-10099)
Topic: 10009 - All Roads Lead Where?
Replies: 60
Views: 14094

Re: 10009 - All Roads Lead Where?

testcase was from an earlier post... has problems
but the main code still WA :( @brainfry
by Labib
Tue Mar 05, 2013 10:01 pm
Forum: Volume 100 (10000-10099)
Topic: 10009 - All Roads Lead Where?
Replies: 60
Views: 14094

Re: 10009 - All Roads Lead Where?

i dunno for what reason my mapped values change.. eg in the test case : 1 6 1 Rome BUET BUET TSC TSC Shahbag Sahbag Nilkhet Nilkhet Katabon Katabon ElephantRoad ElepehantRoad Rome mapped value of ElepehantRoad should be 7. but it changes to 0 when queried. can anyone tell me what I should do? thnx i...
by Labib
Tue Mar 05, 2013 5:01 pm
Forum: Volume 115 (11500-11599)
Topic: 11518 - Dominos 2
Replies: 24
Views: 8447

Re: 11518 - Dominos 2

please help me find the bug people
getting WA, but I dont know why? :-/

Code: Select all

AC

Go to advanced search