Borderou de evaluare (job #1589227)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 3 februarie 2016 21:01:49
Problema Mayonaka Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long int add(long int, long int, long int, long int)’: user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘long int addCanguri(long int)’: user.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<st[k].size();i++) ^ user.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘long int dellCanguri(long int)’: user.cpp:37:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<fn[k].size();i++) ^ user.cpp:39:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:46:13: error: expected primary-expression before ‘long’ if (long long(salt*salt)>n) ^ user.cpp:46:13: error: expected ‘)’ before ‘long’

Ceva nu functioneaza?