Cod sursa(job #516229)
Utilizator | Data | 23 decembrie 2010 13:49:14 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.3 kb |
// Training.cpp : Defines the entry point for the console application.
//
#include "stdio.h"
void main () {
int a,b;
FILE *f, *r;
f = fopen ("adunare.in", "r");
r = fopen ("adunare.out", "w");
scanf ("%d", a);
scanf ("%d", b);
printf ("%d", a+b);
fclose (f);
fclose (r);
}