Search found 37 matches

by supermin
Sat Nov 16, 2002 10:57 am
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 25887

you shouldn't put a blank line after the last group (this is why i said only between groups) #include<stdio.h> #include<string.h> int main(void) { int n_people,i,j,count; char name[10][13],cmp[13],host[13]; int money[10],cash; int give_n; while(scanf("%d",&n_people)!=EOF) { for(i=0;i<10;i++) money[...
by supermin
Wed Oct 30, 2002 5:09 pm
Forum: Bugs and suggestions
Topic: 511 - Do You Know the Way to San Jose? - Do nothing AC
Replies: 62
Views: 5056

[quote="cytse"]Well...I don't think the input data provided by Madouka is valid, because it does not provide enough information for a complete ordering.[/quote] hmm..this is my carelessness... the problem said : "Not all letters are necessarily used, but the list will imply a complete ordering among...
by supermin
Wed Oct 30, 2002 8:49 am
Forum: Bugs and suggestions
Topic: 511 - Do You Know the Way to San Jose? - Do nothing AC
Replies: 62
Views: 5056

Re: Problem 200 - Runtime error(SIGSEGV)

[quote="Madouka"]What's runtime error mean? I think I had done it right.
Sample input
xxyy
yywz
zzw
#

/*output */
xywz
Please explain to me, what should i do?[/quote]

I think the right is xyz,not xywz as you said...
by supermin
Sun Oct 20, 2002 11:28 am
Forum: Volume 8 (800-899)
Topic: 834 - Continued Fractions
Replies: 20
Views: 12831

I don't know whether this problem has tricky inputs,but I can offer you some cases:
5 8
[0;1,1,1,2]
1684 6441
[0;3,1,4,1,2,2,3,12]
1 9
[0;9]
2 4
[0;2]
4898 215
[22;1,3,1,1,2,1,6]

good luck!!
by supermin
Sun Oct 20, 2002 2:44 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 50105

Ya....I got accepted message!!!
Thank you very much.!!
I think that my "supposed" test input is too small...right..? ^^"
by supermin
Sat Oct 19, 2002 12:01 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 50105

hmm...I try it as you say..,but it still can't send me AC message..
Anyway,thanks..

Could anyone help me solve this problem..
by supermin
Sat Oct 12, 2002 10:02 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 50105

102=>WA...help

I test it many times,but I still can't figure out why judge sends me WA.... Could anyone give me help..or ....just a sample input to show my wrong.. thanx..^^ [color=olive]#include<stdio.h> int main(void) { long int can[3][3],BGC,BCG,GBC,GCB,CBG,CGB; long int min_step; while(scanf("%ld%ld%ld%ld%ld%l...

Go to advanced search