Cod sursa(job #2559352)
Utilizator | Data | 27 februarie 2020 11:35:56 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int A,B,s=0;
ifstream f("adunare.in");
ofstream g(" adunare.out");
int main(){
f>>A>>B;
s=A+B;
g<<s;
f.close();
g.close();
return 0;
}