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

a+b?
Posted by cccp 15 Mar 2009 08:13
#include<iostream>
using namespace std;
int main()
{
    int sum=0,a;
    cin>>a;
    sum+=a;
    cin>>a;
    sum+=a;
    cout<<sum<<endl;
    return 0;
}
Re: a+b?
Posted by sokol[TSOGU] 20 May 2009 10:51
in place of int used long
Good luck!
Re: a+b?
Posted by HUMOYUN_220-10 13 Oct 2010 14:41
#include <stdio.h>
int main()
{
   int a, b;
   scanf("%d%d", &a, &b);
   printf("%d\n", a + b);
   return 0;
}
Re: a+b?
Posted by Rhul Amin 20 Oct 2010 23:46