Cod sursa(job #1564388)

Utilizator Andrei2001Andrei Parvulescu Andrei2001 Data 9 ianuarie 2016 17:34:15
Problema Nunta Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.35 kb
#include <stdio.h>
using namespace std;
FILE*f=fopen("nunta.in","r");
FILE*g=fopen("nunta.out","w");
int main()
{
    //short f1=1,f2=1,f3;
    int n;
    fscanf(f,"%d",&n);
    //while(n){
     //   f3=f2+f1;
     //   f1=f2;
     //   f2=f3;
     //   n--;
    //}
    //fprintf(g,"%d",f1);
    fclose(f);
    fclose(g);
    return 0;
}