Borderou de evaluare (job #1630728)

Utilizator MAlexandruMatei Alexandru MAlexandru Data 5 martie 2016 10:56:50
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:58:5: error: stray ‘#’ in program }#include<iostream.h> ^ user.cpp:33:11: error: ‘::main’ must return ‘int’ void main() ^ user.cpp: In function ‘int main()’: user.cpp:58:6: error: ‘include’ was not declared in this scope }#include<iostream.h> ^ user.cpp:58:14: error: ‘iostream’ was not declared in this scope }#include<iostream.h> ^ user.cpp:58:14: note: suggested alternative: In file included from /usr/include/c++/4.8/ios:38:0, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from user.cpp:1: /usr/include/c++/4.8/iosfwd:139:34: note: ‘std::iostream’ typedef basic_iostream<char> iostream; ^ user.cpp:60:6: error: expected primary-expression before ‘*’ token FILE *f=fopen("Flori.In","r"); ^ user.cpp:66:1: error: a function-definition is not allowed here before ‘{’ token {int u,v; ^ user.cpp:74:1: error: a function-definition is not allowed here before ‘{’ token {int j,lg=a[linie][0]; ^ user.cpp:82:1: error: a function-definition is not allowed here before ‘{’ token {int u; ^ user.cpp:155:1: error: expected ‘}’ at end of input } ^ user.cpp:61:7: warning: unused variable ‘g’ [-Wunused-variable] FILE *g=fopen("Flori.Out","w"); ^ user.cpp:63:5: warning: unused variable ‘n’ [-Wunused-variable] int n,k,a[150][150]; ^ user.cpp:63:7: warning: unused variable ‘k’ [-Wunused-variable] int n,k,a[150][150]; ^ user.cpp:63:9: warning: unused variable ‘a’ [-Wunused-variable] int n,k,a[150][150]; ^ user.cpp:155:1: error: expected ‘}’ at end of input }

Ceva nu functioneaza?