Cod sursa(job #1901938)
Utilizator | Data | 4 martie 2017 12:03:55 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.37 kb |
#include <iostream>
#include <fstream>
using namespace std;
{
g=fopen("adunare.out","w");
int a,b;
f>>a>>b;
fprintf(g," ");
fseek(g,0,SEEK_SET);
int c=a+b;
fprintf(g,"%d",c);
return 0;
}