Pagini recente » Cod sursa (job #397360) | Statisticile problemei Anarhie | Cod sursa (job #1991449) | Cod sursa (job #9991) | Cod sursa (job #10069)
Cod sursa(job #10069)
#include <stdio.h>
//#include <conio.h>
#ifndef __CONIO_H
void clrscr() { freopen("adunare.out","w",stdout); }
void getch() { } //fclose(stdout); }
int debug(const char *format,...) {}
#else
#define debug printf
#endif
typedef unsigned long uint32;
int main()
{
FILE *fin = fopen("adunare.in", "r");
clrscr();
uint32 a,b,u;
fscanf(fin,"%ld\n%ld\n", &a, &b);
u = a+b;
printf("%ld\n", u);
getch();
return 0;
}