Skip to content

Commit 51b8b19

Browse files
Create Solve me first.cpp
1 parent f9209ac commit 51b8b19

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Hackerrank/Solve me first.cpp

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#include <cmath>
2+
#include <cstdio>
3+
#include <vector>
4+
#include <iostream>
5+
#include <algorithm>
6+
using namespace std;
7+
8+
int solveMeFirst(int a, int b) {
9+
// Hint: Type rereturturn a+b; below:
10+
return a+b;
11+
}
12+
13+
int main() {
14+
int num1, num2;
15+
int sum;
16+
cin>>num1>>num2;
17+
sum = solveMeFirst(num1,num2);
18+
cout<<sum;
19+
return 0;
20+
}
21+

0 commit comments

Comments
 (0)