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 1785. Lost in Localization

whats wrong?
Posted by ARifkyF 24 Nov 2015 23:24
var
n:integer;
begin
writeln(n);
readln(n);
case n of
1..4:begin
writeln('few');
end;
5..9: begin
writeln('several');
end;
10..19: begin
writeln('pack');
end;
20..49: begin
writeln('lots');
end;
50..99: begin
writeln('horde');
end;
100..249: begin
writeln('throng');
end;
250..499: begin
writeln('swarm');
end;
500..999: begin
writeln('zounds');
end;
1000..2000:begin
writeln('legion');
end;
end;
end.

Edited by author 24.11.2015 23:33
Re: whats wrong?
Posted by Jane Soboleva (SumNU) 25 Nov 2015 00:44
...
begin
writeln(n);
...