Getting WA!!
I am getting confused about this test case:
1
12
5
1
2
2
2
5
uDebug output:
12 5
But by the means of question it should be
12 3
12=5+5+2
Because in question "---you would like to minimizethe number of coins or bills that you pay out."
Search found 6 matches
- Sat May 16, 2015 8:41 pm
- Forum: Volume 115 (11500-11599)
- Topic: 11517 - Exact Change
- Replies: 33
- Views: 15787
- Tue Jan 27, 2015 7:51 am
- Forum: Volume 4 (400-499)
- Topic: 477 - Points in Figures: Rectangles and Circles
- Replies: 11
- Views: 3218
Re: 477 wrong answer
You have to clear it is circle or rectangle when you giving the ans. When you test with "c" (circle) it must to clear during testing. Like thishfluz wrote:Nobody?
Code: Select all
if(type[i]=='r')
{
-->>Rectangle testing
}
else
{
-->>Circle testing......
}
![:D](./images/smilies/icon_biggrin.gif)
- Fri Jan 09, 2015 5:03 pm
- Forum: Volume 7 (700-799)
- Topic: 775 - Hamiltonian Cycle
- Replies: 11
- Views: 4742
Re: 775 - Hamiltonian Cycle
Still giving RE!!! But why?? Please explain guru...... :evil: #include <set> #include <map> #include <list> #include <queue> #include <stack> #include <cstdio> #include <math.h> #include <cctype> #include <string> #include <vector> #include <limits> #include <bitset> #include <sstream> #include <cst...
- Mon Jan 05, 2015 10:03 pm
- Forum: Volume 7 (700-799)
- Topic: 775 - Hamiltonian Cycle
- Replies: 11
- Views: 4742
- Sun Dec 21, 2014 4:37 pm
- Forum: Volume 7 (700-799)
- Topic: 796 - Critical Links
- Replies: 54
- Views: 29814
Re: 796 - Critical Links
Again WA!!
![:evil:](./images/smilies/icon_evil.gif)
Code: Select all
//Removed after AC.
- Sat Dec 20, 2014 5:23 am
- Forum: Volume 7 (700-799)
- Topic: 796 - Critical Links
- Replies: 54
- Views: 29814