BC101 - Editorial

#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.

3 Likes