Search found 8 matches

Sat Oct 13, 2007 5:37 pm
Forum: Volume 105 (10500-10599)
Topic: 10500 - Robot maps
Replies: 45
Views: 13835
I've got several WA for the problem 10500.
Someone plz help me to find out my error.
thank you very much..

Code: Select all

``````remove after ac.
``````
Wed Mar 21, 2007 7:05 pm
Forum: Volume 101 (10100-10199)
Topic: 10137 - The Trip
Replies: 159
Views: 47137
for (int i = 0; i < numPpl; i++) {
cin >> temp;
avg += (int) (temp * 10000 + 1e-9) / numPpl;
cents = (int) (temp * 100 + 1e-9);
top = max(top, cents);

Can someone explain " + 1e-9 " ???

thx a lot........
Tue Mar 20, 2007 10:38 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 71456

10189 WA?? PLZ HELP!!

about the ouput "\n" "There must be an empty line between field outputs." Am I right when input is "0 0" ?? thank you for help!!!:) #include<stdio.h> int main() { int k,l,size_1,size_2,i,j,I,J,boom=0,num=1,end=0; char a[200][200]; char b[200][200]; scanf(" %d %d",&size_1,&size_2); while(size_1!=0 &&...
Sun Mar 11, 2007 3:56 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 53348

102 WA PLZ HELP

here is my c-code thx for help :) !! #include<stdio.h> int main() { unsigned long int input[9]; unsigned long int result[6]; unsigned long int min; int i,min_num=0; while(scanf("%lu %lu %lu %lu %lu %lu %lu %lu %lu",&input[0],&input[1],&input[2],&input[3],&input[4],&input[5],&input[6],&input[7],&inpu...
Sat Mar 10, 2007 3:22 pm
Forum: Volume 4 (400-499)
Topic: 476 - Points in Figures: Rectangles
Replies: 87
Views: 8272
helloneo wrote:Hmm.. I didn't say about how to solve it..

Use old topics.. did you go to the link I mentioned above..?

thank you for help

struct testp point[200];
to
struct testp point[400000];

than get AC...
Sat Mar 10, 2007 3:01 pm
Forum: Volume 4 (400-499)
Topic: 476 - Points in Figures: Rectangles
Replies: 87
Views: 8272
helloneo wrote:I meant "new topic" by that..
sorry..
I still can't understand how to solve the error...

new topic???
can you give me an example?

thank you..
Sat Mar 10, 2007 2:36 pm
Forum: Volume 4 (400-499)
Topic: 476 - Points in Figures: Rectangles
Replies: 87
Views: 8272

thx first

helloneo wrote:Do not create a new thread if there is one already..

http://online-judge.uva.es/board/viewtopic.php?t=13384

Sorry. I'm Taiwanese.so..
I don't know the "thread" means.
Can you explan it?
thank you very much!!
Sat Mar 10, 2007 10:25 am
Forum: Volume 4 (400-499)
Topic: 476 - Points in Figures: Rectangles
Replies: 87
Views: 8272

acm 476 runtime error(Signal 11)

plz tell me where is the problem??

here is my c-code
thank you very much