What's the meaning of this problem?
Seems an easy problem, but I can't understand it...
Re: What's the meaning of this problem?
4 7 - input data
1 - common can
(4+7)-1=10 - amount of cans
Re: What's the meaning of this problem?
How can you get "1-common can"?
Or the problem says there must be one common can?
Re: What's the meaning of this problem?
At some moment it happened so that they shot the same can - last can
Re: What's the meaning of this problem?
Still a little puzzled... Anyway I have got AC, thx for your help :)
Re: What's the meaning of this problem?
why I am wrong on test2,it seems very easy
Re: What's the meaning of this problem?
"The 12th High School Pupils Collegiate Programming Contest of the Sverdlovsk Region (October 15, 2005)"
What a mockery ?!?!
cin >> h >> l;
cout << l-1 << " " << h-1;
And that's all ... (0.001 sec and 220Kb memory used :) )
P.S. 137Kb if it's transformed for C
Edited by author 06.10.2006 00:10
Re: What's the meaning of this problem?
readln(n,m);
writeln(m-1,' ',n-1);
Re: What's the meaning of this problem?
Послано
raksha 15 янв 2008 18:50
if
2 3 - imput data
1 common can
(2+3)-1=4 - amount of cans
Re: What's the meaning of this problem?
Послано
dolz 22 авг 2011 03:39
I can explain it easily.
1 1 1 1 "1" 1 1 1 1 1 1 1
the quoted 1 is the can which they will shot it at the same time.
hope i helped after 4 years :D
Re: What's the meaning of this problem?
sdsdksk skdk skdkfore
Re: What's the meaning of this problem?
haha thanks
Re: What's the meaning of this problem?
Yes it has helped me after 9 more year
Edited by author 03.07.2020 00:58