Borderou de evaluare (job #775737)

Utilizator danalex97Dan H Alexandru danalex97 Data 8 august 2012 19:49:25
Problema Monezi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:29: error: ‘::main’ must return ‘int’ user.cpp: In function ‘int main()’: user.cpp:34: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long long int*’ user.cpp:34: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘long long int*’ user.cpp:36: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long long int*’ user.cpp:41: error: ‘prlong’ was not declared in this scope user.cpp:41: error: expected ‘;’ before ‘longf’ user.cpp:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?