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 1636. Penalty Time

where is mistake? SOS
Posted by Dior 23 Jun 2014 21:05
var
m:array [1..10] of integer;
q,z,i,s:integer;

begin
read(q);
write(' ');
read(z);

readln(m[1]);
s:=m[1];

 for i:=2 to 10 do
 begin
 write(' ');
 read(m[i]);
 s:=s+m[i];
 end;

 s:=s*20;

 if z-s>=q then write('No chance.')
 else write('Dirty debug :(');
 end.