Cod sursa(job #274746)
| Utilizator | Data | 9 martie 2009 22:42:13 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<stdio.h>
using namespace std;
int main()
{int x,y;
FILE *f,*g;
f=fopen("adunare.in","r");
g=fopen("adunare.out","w");
fscanf(f,"%d%d",&x,&y);
fprintf(g,"%d",x+y);
}
