Borderou de evaluare (job #50497)

Utilizator avatar Mapa Pandele Maria Smaranda Mapa IP ascuns
Problemă Decupare Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 feb. 2014 14:20:58 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:14: error: ‘long long int pow10’ redeclared as different kind of symbol /usr/include/i386-linux-gnu/bits/mathcalls.h:124:1: error: previous declaration of ‘double pow10(double)’ user.cpp: In function ‘void read()’: user.cpp:16:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000001]’ [-Wformat] user.cpp: In function ‘void makeNumber(long int)’: user.cpp:28:31: error: assignment of function ‘double pow10(double)’ user.cpp:28:31: error: cannot convert ‘double’ to ‘double(double)throw ()’ in assignment user.cpp:31:17: error: invalid operands of types ‘long long int’ and ‘double(double)throw ()’ to binary ‘operator%’ user.cpp: In function ‘void solve()’: user.cpp:85:16: warning: unused variable ‘c’ [-Wunused-variable] user.cpp:85:27: warning: unused variable ‘k3’ [-Wunused-variable] user.cpp:85:31: warning: unused variable ‘j’ [-Wunused-variable] user.cpp: In function ‘int main()’: user.cpp:180:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:181:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘void read()’: user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]