Cod sursa(job #176579)
Utilizator | Data | 11 aprilie 2008 14:39:06 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <fstream>
using namespace std;
int main(int argc, char *argv[])
{
int A,B;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>A>>B;//citeste date
fout<<A+B;//scrie date
fin.close();
fout.close();
}