Cod sursa(job #1124256)
Utilizator | Data | 26 februarie 2014 11:54:13 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream>
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main ()
{
int s,a,b;
s=0;
f>>a>>b;
s=a+b;
g<<s;
}