|
|
back to boardCommon Board1011 ARGHHHHHHHHHHHHHHHHHHHHHH. Posted by Nix! 5 Nov 2000 01:42 CAN SOMEONE F***ING EXPLAIN 1011. IS THIS PROBLEM ABOUT FINDING A NUMBER OF CITIZENS WHERE THERE SHOULD BE A WHOLE NUMBER IN THE INTERVAL (CITIZENS * P / 100, CITIZENS * Q / 100) IF YES WHY DO THEY HAVE EXAMPLE WHERE P = Q???OR SHOULD THE INTERVAL BE [blah, blah] ??? I TRIED BOTH POSSIBLITIES.I AM SICK OF ILL FORMULATED PROBLEMS AND OF NOONE ANSWERING WHEN I NEED HELP!!!!!!!GIVE ME A BREAK THIS PROBLEM SOUNDS LIKE MY EYECOLOR IS BLUE WHAT'S MY HAIR COLOR.I DON'T WANT THE SOURCE I JUST WANT A CLEAR FORMULATION.WHAT IS THIS PROBLEM ABOUT!!!!!!!!!!!??? Re: 1011 ARGHHHHHHHHHHHHHHHHHHHHHH. > . IS THIS PROBLEM ABOUT percent of conductors is strictly less then Q and strictly greater then P Input is correct by default Re: 1011 DOUBLE ARGHHHHHHHHHHHHHHHHHHHHHH. Posted by Nix! 5 Nov 2000 15:56 This doesn't help to define the problem at all.If the interval is strict then if p >= q there shouldn't be solution because if you form the intersection of any two intervals where p >= q you get one BIG nothing(the empty set).I am sure there is input where p >= q because if I remove the line if p >= q then halt i get T.L. FINALLY GOT IT.READ ON. Posted by Nix! 5 Nov 2000 20:50 You never mention that the numbers can be on one line.I had to read the russian version to get it.I just changed : readln(p); readln(q); to readln(p, q); and I got it. So the problem was in you guys you didn't make exact translation from russian. Re: FINALLY GOT IT.READ ON. > You never mention that the numbers can be on one line.I had > to read the russian version to get it.I just changed : > readln(p); > readln(q); > to readln(p, q); and I got it. So the problem was in you > guys you didn't make exact translation from russian. heh, can't you just do read(p); read(q); isn't it working properly ? |
|
|