Search found 38 matches

by t.tahasin
Tue Sep 30, 2014 4:19 am
Forum: Volume 115 (11500-11599)
Topic: 11504 - Dominos
Replies: 55
Views: 20619

Re: 11504 - Dominos

No reply... :(
I am stuck in this problem.
by t.tahasin
Sat Sep 27, 2014 8:43 pm
Forum: Volume 115 (11500-11599)
Topic: 11504 - Dominos
Replies: 55
Views: 20619

Re: 11504 - Dominos

WA :( Tested with all the inputs found in this thread. My program gives the correct output for all the inputs. Here is my code. #include<iostream> #include<cstdio> #include<vector> #include<stack> using namespace std; int index; int scc; int result; class Node { public: vector<int> adj; int scc; int...
by t.tahasin
Thu Sep 25, 2014 5:30 am
Forum: Volume 9 (900-999)
Topic: 929 - Number Maze
Replies: 92
Views: 40212

Re: 929 - Number Maze

thank you brianfry713
sorry for my stupid mistake..
by t.tahasin
Wed Sep 24, 2014 11:12 am
Forum: Volume 9 (900-999)
Topic: 929 - Number Maze
Replies: 92
Views: 40212

Re: 929 - Number Maze

WA :(
I tried all the i/o found in this thread. For all the input my program gives the correct output. please help...
Thanks in advance.
Here is my code. Sorry for my big code.

Code: Select all

removed after acc.
by t.tahasin
Thu Jan 16, 2014 1:57 pm
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 21837

Re: 10800 - Not That Kind of Graph

Now it got accepted. thanks brianfry713.
But same code gave me WA twice. I don't know what's the problem.
by t.tahasin
Sat Jan 11, 2014 10:12 am
Forum: Volume 117 (11700-11799)
Topic: 11770 - Lighting Away
Replies: 27
Views: 8541

Re: 11770 - Lighting Away

hi ????????
try this-
input
1
7 7
1 2
1 3
7 4
7 5
7 6
6 7
7 1
output
Case 1: 1
while your program output is
Case 1: 2
by t.tahasin
Mon Dec 30, 2013 11:43 am
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 21837

Re: 10800 - Not That Kind of Graph

I have checked with all the inputs found in this thread and my program gives the correct output for each of the inputs. Whats wrong with my code can't figure out. I checked trailing spaces and print a blank line after each test case. But still WA. Somebody please help me. Thanks in advance. Here is ...
by t.tahasin
Tue Dec 24, 2013 7:02 am
Forum: Volume 117 (11700-11799)
Topic: 11770 - Lighting Away
Replies: 27
Views: 8541

Re: 11770 - Lighting Away

Thanks a lot brianfry713 after a lot of WA finally I got accepted, but without finding strongly connected components, rather I used most likely a topological ordering.
by t.tahasin
Mon Dec 23, 2013 2:47 pm
Forum: Volume 125 (12500-12599)
Topic: 12517 - Digit Sum
Replies: 1
Views: 816

12517 - Digit Sum

Please help. I can't find any wrong with my code, but getting continuous WA. #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <algorithm> #include <string> #include <list> #include <vector> #include <map> #include <set> using namespace std; long l...
by t.tahasin
Thu Dec 12, 2013 1:51 pm
Forum: Volume 117 (11700-11799)
Topic: 11770 - Lighting Away
Replies: 27
Views: 8541

Re: 11770 - Lighting Away

Again WA :( Thank you very much brianfry713 for your I/O. I found my mistake. although I could not get my code accepted yet. I think 2 of your output cases are not correct. Actually I also checked with UVA Toolkit . I have the same output as yours except those two cases. I think the outputs for Case...
by t.tahasin
Wed Dec 11, 2013 7:51 am
Forum: Volume 117 (11700-11799)
Topic: 11770 - Lighting Away
Replies: 27
Views: 8541

Re: 11770 - Lighting Away

WA... I used the strongly connected component algorithm to solve this problem.
I checked with all the inputs in this thread and found OK for all the inputs. Please help.
Thanks in advanced.

Code: Select all

code removed after acc.
by t.tahasin
Tue Dec 10, 2013 2:43 pm
Forum: Volume 114 (11400-11499)
Topic: 11466 - Largest Prime Divisor
Replies: 29
Views: 15626

Re: uva 11466

Input:
-21
-22
0

Output:
7
11
by t.tahasin
Wed Dec 04, 2013 6:55 am
Forum: Volume 127 (12700-12799)
Topic: 12703 - Little Rakin
Replies: 3
Views: 992

Re: 12703 (Little Rakin) - WA

I made a stupid mistake in my code.
Thanks a lot brianfry713.
You are really the Guru :)
by t.tahasin
Mon Dec 02, 2013 9:30 am
Forum: Volume 127 (12700-12799)
Topic: 12703 - Little Rakin
Replies: 3
Views: 992

12703 - Little Rakin

Getting continuous WA. Need Some I/O. If anyone solved this problem please post some critical I/O.
Thanks in advance.

here is my WA code

Code: Select all

Removed after Accepted.
by t.tahasin
Thu Nov 28, 2013 11:21 am
Forum: Volume 127 (12700-12799)
Topic: 12704 - Little Masters
Replies: 2
Views: 747

12704 - Little Masters (WA)

Can't find the error why getting continuous WA.
Please help. Thanks in advance.

Here is my code.

Code: Select all

Code removed after ac

Go to advanced search