Borderou de evaluare (job #1916505)

Utilizator SaltimbanculAlex Lazar Saltimbancul Data 9 martie 2017 09:38:56
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:16: error: stray ‘#’ in program fout<<'\n';#include <fstream> ^ user.cpp: In function ‘void write()’: user.cpp:10:17: error: ‘include’ was not declared in this scope fout<<'\n';#include <fstream> ^ user.cpp:10:33: error: expected primary-expression before ‘>’ token fout<<'\n';#include <fstream> ^ user.cpp:11:1: error: expected primary-expression before ‘using’ using namespace std; ^ user.cpp:11:1: error: expected ‘;’ before ‘using’ user.cpp:16:1: error: a function-definition is not allowed here before ‘{’ token { ^ user.cpp:14:5: warning: unused variable ‘n’ [-Wunused-variable] int n,i,v[65000],a[60][60][60],niv,j,k; ^ user.cpp:14:7: warning: unused variable ‘i’ [-Wunused-variable] int n,i,v[65000],a[60][60][60],niv,j,k; ^ user.cpp:14:9: warning: unused variable ‘v’ [-Wunused-variable] int n,i,v[65000],a[60][60][60],niv,j,k; ^ user.cpp:14:18: warning: unused variable ‘a’ [-Wunused-variable] int n,i,v[65000],a[60][60][60],niv,j,k; ^ user.cpp:14:32: warning: unused variable ‘niv’ [-Wunused-variable] int n,i,v[65000],a[60][60][60],niv,j,k; ^ user.cpp:14:36: warning: unused variable ‘j’ [-Wunused-variable] int n,i,v[65000],a[60][60][60],niv,j,k; ^ user.cpp:14:38: warning: unused variable ‘k’ [-Wunused-variable] int n,i,v[65000],a[60][60][60],niv,j,k; ^ user.cpp:76:1: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?