Borderou de evaluare (job #647718)

Utilizator span7aRazvan span7a Data 11 decembrie 2011 21:13:54
Problema Invers Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4: error: ‘long long’ invalid for ‘x’ user.cpp:4: error: ‘long long’ invalid for ‘invers’ user.cpp: In function ‘double invers(double)’: user.cpp:8: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’ user.cpp: In function ‘int main()’: user.cpp:16: error: ‘long long’ invalid for ‘n’ user.cpp:19: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’ user.cpp:22: warning: format ‘%lld’ expects type ‘long long int*’, but argument 2 has type ‘double*’ user.cpp:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?