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 925 (Div. 3) 1931D. Divisible Pairs Solution

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

Powered by Blogger.