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

1000
Posted by inf14azad 16 Feb 2008 14:09
var
a,b,c:integer;
begin
write('a,b='); read(a,b);
c:=a+b;
write('c=',c);
end.
Re: 1000
Posted by Alexander (201 - P TNU) 16 Feb 2008 20:01
it's easy a little):
var
a,b,c:integer;
begin
read(a,b);
c:=a+b;
write(c);
end.
Re: 1000
Posted by Pascal 29 Jan 2009 01:19
but it very little
var
a,b:integer;
begin
read(a,b);
write(a+b);
end.
Re: 1000
Posted by Mihran Hovsepyan {2 kurs of <RAU>} 29 Jan 2009 23:08


Edited by author 29.01.2009 23:08
Re: 1000
Posted by Lotfi 23 Sep 2009 04:36
help me please this is my code source i don't know why it's wrong

#include<stdio.h>

int
main(void)
   {
       int a, b,c;

      printf("Please enter a and b: ");
      scanf("%ld %ld", &a, &b);


    c=a+b;

    printf("a+b is %ld\n", c);

    return 0;
   }