Borderou de evaluare (job #2336757)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 5 februarie 2019 15:42:32
Problema Bacterii2 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'ftype& ftype::operator+=(const ftype&)': main.cpp:39:71: warning: no return statement in function returning non-void [-Wreturn-type] ftype& operator +=(const ftype &a) { if((x += a.x) >= MOD) x -= MOD; } ^ main.cpp: In member function 'ftype& ftype::operator-=(const ftype&)': main.cpp:40:68: warning: no return statement in function returning non-void [-Wreturn-type] ftype& operator -=(const ftype &a) { if((x -= a.x) < 0) x += MOD; } ^ main.cpp: In member function 'ftype& ftype::operator*=(const ftype&)': main.cpp:41:66: warning: no return statement in function returning non-void [-Wreturn-type] ftype& operator *=(const ftype &a) { x = (1LL * x * a.x) % MOD; } ^ main.cpp: In member function 'ftype& ftype::operator/=(const ftype&)': main.cpp:42:76: warning: no return statement in function returning non-void [-Wreturn-type] ftype& operator /=(const ftype &a) { *this = (*this) * getPw(a, MOD - 2); } ^ main.cpp: In function 'std::vector<ftype> multiply(const std::vector<ftype>&, const std::vector<ftype>&)': main.cpp:135:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.size(); ++i) na[i] = a[i]; ~~^~~~~~~~~~ main.cpp:136:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < b.size(); ++i) nb[i] = b[i]; ~~^~~~~~~~~~ main.cpp:145:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < va.size(); ++i) { ~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:202:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < a.size(); ++i) if(a[i]) cout << i << ' ' << a[i] << '\n'; ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1715ms4878kbOK100
Punctaj total100

Ceva nu functioneaza?