Cod sursa(job #3143394)
Utilizator | Data | 29 iulie 2023 16:33:44 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.31 kb |
#include <fstream>
std :: ifstream fin("adunare.in") ;
std :: ofstream fout("adunare.out") ;
int main(){
int a , b ;
fin >> a ;
fin.get() ;
fin >> b ;
fin.close() ;
fout << a + b ;
fout.close() ;
return 0 ;
}