Borderou de evaluare (job #1571514)

Utilizator aditzu7Adrian Capraru aditzu7 Data 18 ianuarie 2016 09:50:19
Problema Politic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: ‘include’ does not name a type include <stdio.h> ^ user.cpp:5:1: error: ‘FILE’ does not name a type FILE*f=fopen("politic.in","r"); ^ user.cpp:6:1: error: ‘FILE’ does not name a type FILE*g=fopen("politic.out","w"); ^ user.cpp: In function ‘int main()’: user.cpp:11:12: error: ‘f’ was not declared in this scope fscanf(f,"%d%d",&n,&x); ^ user.cpp:11:26: error: ‘fscanf’ was not declared in this scope fscanf(f,"%d%d",&n,&x); ^ user.cpp:20:13: error: ‘g’ was not declared in this scope fprintf(g,"%d\n",m); ^ user.cpp:20:23: error: ‘fprintf’ was not declared in this scope fprintf(g,"%d\n",m); ^ user.cpp:10:38: warning: unused variable ‘u’ [-Wunused-variable] int n,m=0,p,v[20000],x,y,l=1,i,k,u,j; ^

Ceva nu functioneaza?