Rebased projecteuler folder, now includes all contest programming stuff
This commit is contained in:
18
atcoder/practice1.cpp
Normal file
18
atcoder/practice1.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
int main(){
|
||||
int a, b, c;
|
||||
string s;
|
||||
|
||||
cin >> a;
|
||||
cin >> b >> c;
|
||||
cin >> s;
|
||||
|
||||
cout << a + b + c << " " << s << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user