Hi all. I checked my program with all your I/O sample, and every thing is all right...
Yet... I still get WA from the judge...
Could someone post more I/O? I just can't understand what is wrong...
Cheers
Flux
Search found 3 matches
- Tue Oct 05, 2004 11:18 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10697 - Firemen barracks
- Replies: 45
- Views: 20186
- Tue Jan 06, 2004 6:05 pm
- Forum: Algorithms
- Topic: Partitions
- Replies: 3
- Views: 1936
Partitions
if I have a set of n char (or int or anything), how can I determine (and build) the C(n,p) subsets of size p that I can find my first set?
exemple :
set = 12345, so n=5
p=3
I want the C(5,3) = 10 subsets of size 3 :
123
124
125
134
135
145
234
235
245
345
Is there a powerfull algo to do such a ...
exemple :
set = 12345, so n=5
p=3
I want the C(5,3) = 10 subsets of size 3 :
123
124
125
134
135
145
234
235
245
345
Is there a powerfull algo to do such a ...
- Wed Dec 10, 2003 12:14 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 65209
706 WA
Why !!!? :(
[c]
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
static char map[10][5][4 ...
[c]
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
static char map[10][5][4 ...