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

Почему ВА на 22 тесте????
Posted by Алёна 26 May 2014 18:34
Var n:LongInt;
 Begin
  Read(n);
  if n in [1..4] then writeLn('few');
  if n in [5..9] then writeLn('several');
  if n in [10..19] then writeLn('pack');
  if n in [20..49] then writeLn('lots');
  if n in [50..99] then writeLn('horde');
  if n in [100..249] then writeLn('throng');
  if ((n>=250) and (n<=499)) then writeLn('swarm');
  if ((n>=500) and (n<=999)) then writeLn('zounds');
  if n>=1000 then writeLn('legion');
 end.