Search found 4 matches

by Slava_Edelev
Thu Jun 04, 2009 8:45 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 66782

Re: 10035 - Primary Arithmetic

THANK YOU VERY MUCH!!!!!!!!!!!!! I get AC:))))))))))))))))))) Your comments are very instructive, I know they will certainly help me also in other problems!:) I don't know why our answers are different (but maybe it depends with t1=s[i]-48; instead of t1=s[i]-'0' , as you've said). The bug in my cod...
by Slava_Edelev
Mon Jun 01, 2009 8:10 am
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 66782

Re: 10035 - Primary Arithmetic

Thank you very much for your answer, but I've posted only here a variant with file input/output. I used stadart I/O to post the programm to judge..)) I thought it would be easier for you to test my programm with file I/O...)) Is there any found incorrect answers? So, the variant with standart I/O: #...
by Slava_Edelev
Tue May 19, 2009 9:12 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 66782

Re: 10035 - Primary Arithmetic

Have tested a very big amount of variants but can't still find a bug... Please point the variant it worcs incorrectly))) THANK YOU VERY MUCH!!! #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> int main(void) { short int t1,t2,i,j,t,S=0; unsigned short int k,m,z=0; unsigne...
by Slava_Edelev
Tue May 19, 2009 8:32 pm
Forum: Volume 100 (10000-10099)
Topic: 10037 - Bridge
Replies: 84
Views: 26334

Re: 10037 - Bridge

Hi! Can't find a bug... I used the correct algorithm, described here, I have a special output for 0,1,2,3 people and in addition I've compared my output with the correct output for many times with random values but it didn't help me - outputs are the same...) Please, point the cases my program works...

Go to advanced search