Cod sursa(job #3254446)
Utilizator | Data | 7 noiembrie 2024 16:40:54 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a, b;
FILE *r,*w;
r = fopen("adunare.in", "r");
w = fopen("adunare.out", "w");
fscanf(r, "%d%d", &a &b);
fprintf(w, "%d%d", a+b);
return 0;
}