ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1100. Final Standings

please who can say what is in 11th test
Posted by Dulat_TKTL 27 Jan 2006 19:42
my solution is corret and fast Ithink  but it is not enough.why in 12th I have TIme limit


Edited by author 27.01.2006 23:01
Re: please who can say what is in 11th test
Posted by botl_ayhan 28 Jan 2006 15:37
iI also had this problem.
Do not use too many unnecessary operations like sorting.
Beginning from largest possible score. choose all teams with this score.
and you have written TKTL. are you from turkish school?

Edited by author 28.01.2006 15:39
Re: please who can say what is in 11th test
Posted by Dulat_TKTL 28 Jan 2006 15:56
I get AC
use program of Bourne but instead of smallint use byte;
var
n,i,j,x:longint;
a:array[0..150000] of byte;
b:array[0..150000] of longint;
begin

readln(n);
for i:=1 to n do
begin
readln(b[i],a[i]);
end;

for x:=100 downto 0 do
begin
for i:=1 to n do
if a[i]=x then writeln(b[i],' ',a[i]);
end;

end.

Edited by author 28.01.2006 15:57
Re: please who can say what is in 11th test
Posted by Dulat_TKTL 30 Jan 2006 07:55
yes and you
Re: please who can say what is in 11th test
Posted by BOTLMahir 31 Jan 2006 13:20
yes and me.
Re: please who can say what is in 11th test
Posted by Dulat_TKTL 1 Feb 2006 15:25
thanks but
who  you are??????
Re: please who can say what is in 11th test
Posted by Grab 8 Feb 2006 17:09
N=150000