Toph easy problem (Add Them Up)



Question : 



Add Them Up

Limits: 1s, 512 MB

Read two integer variables, calculate their sum, and print it.

Input

The input will contain two integers A and B (A, B < 20000000).

Output

Print the sum of the two integers.

Samples

InputOutput
4 5


Solve in c:

#include<stdio.h>
int main(){

int a,b,sum;
scanf("%d %d",&a,&b);
sum=a+b;
printf("%d\n",sum);
return 0;
}



9

No comments

Most View Post

Recent post

Codeforces Round 971 (Div. 4) 2009C. The Legend of Freya the Frog Solution

  Problem Link    https://codeforces.com/contest/2009/problem/C S olution in C++: /// Author : AH_Tonmoy #include < bits / stdc ++. h ...

Powered by Blogger.