Borderou de evaluare (job #2030040)

Utilizator dadadadadada da dadadada Data 30 septembrie 2017 22:59:50
Problema Fibocel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long long unsigned int Afla(long long unsigned int)’: user.cpp:91:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if ( p[i].x > x ) ^ user.cpp: In function ‘long long unsigned int fibo(long long unsigned int)’: user.cpp:153:27: error: ‘Find’ was not declared in this scope cc = Find(nn+s); ^ user.cpp:103:23: warning: unused variable ‘pr’ [-Wunused-variable] ll t = x , k = 0 , pr , i , sp = 0 , r , sol = 0 , s , nn , cc; ^ user.cpp:103:41: warning: unused variable ‘r’ [-Wunused-variable] ll t = x , k = 0 , pr , i , sp = 0 , r , sol = 0 , s , nn , cc; ^ user.cpp: In function ‘void Read()’: user.cpp:175:20: warning: unused variable ‘ax’ [-Wunused-variable] ll i , a , b , ax , bx , ans1 , ans2; ^ user.cpp:175:25: warning: unused variable ‘bx’ [-Wunused-variable] ll i , a , b , ax , bx , ans1 , ans2; ^ user.cpp: In function ‘int main()’: user.cpp:191:8: warning: unused variable ‘i’ [-Wunused-variable] ll i; ^ user.cpp: In function ‘long long unsigned int Afla(long long unsigned int)’: user.cpp:97:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void Read()’: user.cpp:176:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%llu" , &n ); ^ user.cpp:179:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%llu%llu" , &a , &b ); ^ user.cpp: In function ‘int main()’: user.cpp:193:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( IN , "r" , stdin ); ^ user.cpp:194:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( OUT , "w" , stdout );// to be continued ^

Ceva nu functioneaza?