Cod sursa(job #976887)
Utilizator | Data | 24 iulie 2013 11:39:55 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
#include <algorithm>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,c;
int main()
{
f>>a;
f>>b;
c=a+b;
g<<c;
return 0;
}