Search found 26 matches
- Mon Dec 18, 2006 5:27 pm
- Forum: Volume 1 (100-199)
- Topic: 139 - Telephone Tangles
- Replies: 66
- Views: 15743
- Tue Oct 10, 2006 8:32 am
- Forum: Volume 1 (100-199)
- Topic: 139 - Telephone Tangles
- Replies: 66
- Views: 15743
139 WA
I've read some posts on the board and test some IO. but still the judge reply me a lot of WA...
someone says that the problem has some tricky point but i can't find it, could anyone help me examine my code??
thanks in advance
#include <stdio.h>
#include <string.h>
char name[3000][100];
char num ...
someone says that the problem has some tricky point but i can't find it, could anyone help me examine my code??
thanks in advance
#include <stdio.h>
#include <string.h>
char name[3000][100];
char num ...
- Tue Jul 25, 2006 9:16 am
- Forum: Volume 1 (100-199)
- Topic: 134 - Loglan-A Logical Language
- Replies: 45
- Views: 8841
134 WA
I've got mant WAs in this problem, and I've viewed all the topics in this forum but still can't find the error.
Could anyone help me find the bug or give me some test cases?
Thanks in advance;
#include <stdio.h>
#include <string.h>
#define UNCHECK 0
#define A 1
#define MOD 2
#define BA 3
#define ...
Could anyone help me find the bug or give me some test cases?
Thanks in advance;
#include <stdio.h>
#include <string.h>
#define UNCHECK 0
#define A 1
#define MOD 2
#define BA 3
#define ...
- Wed Jan 25, 2006 8:23 am
- Forum: Volume 6 (600-699)
- Topic: 665 - False coin
- Replies: 15
- Views: 11105
665
in this input, what is the answer should be?
1
5 2
1 1 2
=
1 1 3
<
1
5 2
1 1 2
=
1 1 3
<
- Sun Aug 14, 2005 3:31 am
- Forum: Volume 6 (600-699)
- Topic: 605 - The Rotating Disk
- Replies: 8
- Views: 5700
605
in this problem,how can we detemine whether the track can be solved?
thanks in advance
thanks in advance
- Thu Aug 11, 2005 10:29 am
- Forum: Volume 7 (700-799)
- Topic: 777 - Codebreakers
- Replies: 1
- Views: 2221
- Sat Jul 09, 2005 1:59 pm
- Forum: Volume 6 (600-699)
- Topic: 600 - A Duckpin Tournament
- Replies: 12
- Views: 9960
600 WA
I couldnt find what wrong with it;
and even cant understand the input form;
i guess the three tries are right justifed but i'm not sure :(
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
inline bool num(char p) {
return (p>='0'&&p<='9');
}
char t[3][50]={0};
int score[36];
int toscore ...
and even cant understand the input form;
i guess the three tries are right justifed but i'm not sure :(
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
inline bool num(char p) {
return (p>='0'&&p<='9');
}
char t[3][50]={0};
int score[36];
int toscore ...
- Wed Jun 22, 2005 6:17 am
- Forum: Volume 101 (10100-10199)
- Topic: 10157 - Expressions
- Replies: 23
- Views: 15401
- Tue Jun 21, 2005 2:08 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10157 - Expressions
- Replies: 23
- Views: 15401
- Tue Jun 21, 2005 8:16 am
- Forum: Volume 101 (10100-10199)
- Topic: 10157 - Expressions
- Replies: 23
- Views: 15401
10157
I think it could be solved with DP but I can't construct the recursive function, could some one help me?
Or.... it's not a DP problem?
Or.... it's not a DP problem?

- Thu Jun 16, 2005 7:05 am
- Forum: Volume 101 (10100-10199)
- Topic: 10165 - Stone Game
- Replies: 6
- Views: 3777
10165
I've viewed some topics says that it could be solved with binary sequence... but i can't imagine it.
someone helps me?
someone helps me?

- Tue Jun 14, 2005 4:01 am
- Forum: Volume 6 (600-699)
- Topic: 690 - Pipeline Scheduling
- Replies: 4
- Views: 3095
- Tue Jun 14, 2005 3:52 am
- Forum: Volume 6 (600-699)
- Topic: 690 - Pipeline Scheduling
- Replies: 4
- Views: 3095
- Tue Jun 14, 2005 3:02 am
- Forum: Volume 6 (600-699)
- Topic: 690 - Pipeline Scheduling
- Replies: 4
- Views: 3095
690
#include <stdio.h>
bool map[5][30];
int e[5];
int n,would[30],w;
bool insertable(int a1,int a2,int a3,int a4,int a5);
void test(int s1,int s2,int s3,int s4,int s5,int i,int start,int x);
int min;
inline int _min(int a,int b) {
if(a<b)
return a;
return b;
}
int main() {
int i,j;
char p[30 ...
bool map[5][30];
int e[5];
int n,would[30],w;
bool insertable(int a1,int a2,int a3,int a4,int a5);
void test(int s1,int s2,int s3,int s4,int s5,int i,int start,int x);
int min;
inline int _min(int a,int b) {
if(a<b)
return a;
return b;
}
int main() {
int i,j;
char p[30 ...
- Fri May 27, 2005 9:22 am
- Forum: Algorithms
- Topic: about chinese postman problem
- Replies: 2
- Views: 1718
about chinese postman problem
could someone give me an algorithm of the minimal cost matching in chinese postman problem?
i saw some webpage says that there is a O(n+3) algorithm but it didn't provide it...
i saw some webpage says that there is a O(n+3) algorithm but it didn't provide it...