Borderou de evaluare (job #2522659)

Utilizator roxana.istratePoenaru Roxana roxana.istrate Data 12 ianuarie 2020 19:52:51
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int knapsack_2D(std::vector<int>&, std::vector<int>&, int)': main.cpp:11:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i <= w.size(); i++) { ~~^~~~~~~~~~~ main.cpp: In function 'int knapsack_2D_opt(std::vector<int>&, std::vector<int>&, int)': main.cpp:36:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < w.size(); i++) { ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:59:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rucsac.in", "r", stdin); ^ main.cpp:60:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rucsac.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK510
23ms131kbOK5
34ms385kbOK515
412ms393kbOK5
54ms524kbOK5
613ms2105kbOK510
77ms2097kbOK5
828ms4128kbOK515
921ms4128kbOK5
1021ms4136kbOK5
1129ms12304kbMemory limit exceeded00
1237ms12304kbMemory limit exceeded0
1328ms12304kbMemory limit exceeded0
1426ms12304kbMemory limit exceeded00
1532ms12304kbMemory limit exceeded0
1638ms12304kbMemory limit exceeded0
1725ms12304kbMemory limit exceeded00
1840ms12304kbMemory limit exceeded0
1941ms12304kbMemory limit exceeded0
2042ms12304kbMemory limit exceeded0
Punctaj total50

Ceva nu functioneaza?