Cod sursa(job #2033499)
Utilizator | Data | 6 octombrie 2017 21:33:54 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#define m 2000000000
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
long int s;
int main(){
f>>a;
f>>b;
s=a+b;
if(s<m){
g<<s;
}
return 0;
}