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

Why wrong answer?
Posted by Cinyak 1 Mar 2016 21:20
var a,b:real;
begin
readln(a,b);
a:=a+b;
write (a);
end.
Re: Why wrong answer?
Posted by ToadMonster 2 Mar 2016 15:46
http://acm.timus.ru/help.aspx?topic=pascal&locale=en

There are int data type and "writeln" function used in example.

Edited by author 02.03.2016 15:46