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 1000. A+B Problem

Please, help me with Problem 1000!
Posted by Stupid Petrov 24 Oct 2002 13:03
Here it is. <ACCEPTED>
Posted by Barnaul School #42-7 24 Oct 2002 13:04
var
 a, b: longint;

begin
 {$IFNDEF ONLINE_JUDGE}
 ASSIGN (input, 'input.txt');
 reset (input);
 assign (output, 'output.txt');;
 rewrite (output);
 {$ENDIF}
 read (input, a,b);
 write (output, a+b);
 {$IFNDEF ONLINE_JUDGE}
 close (input);
 close (output);
 {$ENDIF}
end.