Cod sursa(job #2921222)
Utilizator | Data | 28 august 2022 17:51:34 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
string text;
ifstream in("adunare.in");
ofstream out("adunare.out");
getline(in, text);
int a = stoi(text);
getline(in, text);
int b = stoi(text);
out<<a+b;
return 0;
}