Cod sursa(job #1716693)

Utilizator wilson182Alexandrina Panfil wilson182 Data 13 iunie 2016 15:00:15
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.28 kb
#include<iostream>
#include<stdio.h>
using namespace std;

int main ()
{
	int a, b;
	FILE *fin, *fout;
	fin=fopen("adunare.in", "r");
	fout=fopen("adunare.out", "w");
	fscanf(fin, "%d%d", &a, &b);
	fprintf(fout, "%d", &a+b);
	fclose(fin);
	fclose(fout);
	return 0;
}