Borderou de evaluare (job #1070429)

Utilizator gerd13David Gergely gerd13 Data 31 decembrie 2013 23:42:38
Problema Impartire Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:10: error: ‘a’ was not declared in this scope long max(a,b) ^ user.cpp:16:12: error: ‘b’ was not declared in this scope long max(a,b) ^ user.cpp:16:13: error: expression list treated as compound expression in initializer [-fpermissive] long max(a,b) ^ user.cpp:17:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ user.cpp:30:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main() ^ user.cpp: In function ‘int main()’: user.cpp:39:15: error: ‘exit’ was not declared in this scope exit(1); ^ user.cpp:47:15: error: ‘exit’ was not declared in this scope exit(2); ^ user.cpp:55:36: error: ‘max’ cannot be used as a function neper=max(cediv(n,2),cediv(n,5)); ^

Ceva nu functioneaza?