BC101 - Editorial

cakewalk
editorial
math

#1

#PROBLEM LINK:

Practice
Contest

Author: Ayush Nagal

#DIFFICULTY:
CAKEWALK

#PREREQUISITES:
Math

#PROBLEM:
Given 2 integers, a and b, write a program to output the sum of a and b.

#EXPLANATION:
The solution is very straight forward. Input the two space separated integers and output the their sum:

cin>>a>>b;
cout<a+b;

#AUTHOR’S SOLUTION:
Author’s solution can be found here.