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

gde oschibka???
Posted by BATAZOR 11 Mar 2011 17:27
program ab;
var a,b,c:integer;
begin
write('a=');
read(a);
write('b=');
read(b);
c:=a+b;
write('a+b=',c);
end.

pochimu pischet chto otvet ne veren?
Re: gde oschibka???
Potomu chto in the input tebya prosili schitat' dva chisla i vidat' v otvet tol'ko ih summu, bez vot etih 'a=', 'b=' i 'a+b=' =)
Re: gde oschibka???
Posted by BATAZOR 11 Mar 2011 19:25
toest a i b eto postoannie chisla? a ni kak ne poimy chto prosat sdelat, mojeschesch napisat primer reschenia podobnogo primera, a to ni kak ne poimy yslovia zadachi
Re: gde oschibka???
program ab;
var a,b:integer;
begin
read(a,b);
write(a+b);
end.
Re: gde oschibka???
Posted by BATAZOR 11 Mar 2011 22:03
A TEPER PONAL, SPASIBO