Borderou de evaluare (job #2188752)

Utilizator TimoteiCopaciu Timotei Timotei Data 27 martie 2018 13:57:13
Problema Incurcatura Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define For(i, x, y) for(int i = x; i <= y; ++i) user.cpp:41:9: For(i, 1, v.size() - 1){ ~~~~~~~~~~~~~~~~~~ user.cpp:41:5: note: in expansion of macro ‘For’ For(i, 1, v.size() - 1){ ^~~ user.cpp:7:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define For(i, x, y) for(int i = x; i <= y; ++i) user.cpp:47:10: For(i, 0, v.size() - 1){ ~~~~~~~~~~~~~~~~~~ user.cpp:47:6: note: in expansion of macro ‘For’ For(i, 0, v.size() - 1){ ^~~ user.cpp:51:33: warning: ‘el2’ may be used uninitialized in this function [-Wmaybe-uninitialized] int mx1 = 0, mx2 = 0, el1, el2; ^~~ user.cpp:51:28: warning: ‘el1’ may be used uninitialized in this function [-Wmaybe-uninitialized] int mx1 = 0, mx2 = 0, el1, el2; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1356kbOK10
224ms1444kbOK10
3Depăşit3292kbTime limit exceeded.0
4Depăşit5580kbTime limit exceeded.0
50ms1324kbOK10
6Depăşit2236kbTime limit exceeded.0
7Depăşit3284kbTime limit exceeded.0
8Depăşit5840kbTime limit exceeded.0
9Depăşit5844kbTime limit exceeded.0
10Depăşit7424kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?