Borderou de evaluare (job #2987165)

Utilizator alexcmeciu1Cmeciu Alexandru Cristian alexcmeciu1 Data 2 martie 2023 00:28:52
Problema Jocul Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:23:27: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 23 | for (int x = 0; x <= knapsack; x++) | ~~^~~~~~~~~~~ main.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 29 | for(int i=1;i<=knapsack;i++){ | ~^~~~~~~~~~ main.cpp:32:32: warning: 'maxx' may be used uninitialized in this function [-Wmaybe-uninitialized] 32 | fout<<maxx<<" "<<knapsack2-maxx; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbOK1040
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
58ms315kbOK1040
60ms184kbOK10
712ms315kbOK10
80ms184kbOK10
90ms184kbOK1020
1029ms315kbOK10
Punctaj total100

Ceva nu functioneaza?