I got AC, thank you.your code have some missing brackets.
see to it and paste again your code.
Search found 4 matches
- Mon Jun 30, 2008 4:52 am
- Forum: Volume 5 (500-599)
- Topic: 562 - Dividing coins
- Replies: 73
- Views: 44595
Re: 562 - Dividing Coins
- Sun Jun 29, 2008 5:35 am
- Forum: Volume 5 (500-599)
- Topic: 562 - Dividing coins
- Replies: 73
- Views: 44595
Re: 562 - Dividing Coins
I tested it will some test case, I don't know why wrong answer?
Please help me, thank you.
Here is the code:
#include<iostream>
using namespace std;
int calc(int *input, int n, int *sum){
int result=sum[0];
for(int i=0;i<n;i++){
int min = sum[0];
for(int j=0;j<=i;j++){
int temp = sum[j ...
Please help me, thank you.
Here is the code:
#include<iostream>
using namespace std;
int calc(int *input, int n, int *sum){
int result=sum[0];
for(int i=0;i<n;i++){
int min = sum[0];
for(int j=0;j<=i;j++){
int temp = sum[j ...
- Thu Jun 19, 2008 4:15 pm
- Forum: Bugs and suggestions
- Topic: Migration problem
- Replies: 1
- Views: 1526
Migration problem
I tried to migrate but fail. It always show that I have 2 tries left.
I am sure that I had entered the correct user ID.
I am sure that I had entered the correct user ID.
- Sun Jul 01, 2007 10:17 am
- Forum: Volume 7 (700-799)
- Topic: 759 - The Return of the Roman Empire
- Replies: 15
- Views: 11251