Borderou de evaluare (job #2534038)

Utilizator driver71528@gmail.comTerec Andrei-Sorin [email protected] Data 29 ianuarie 2020 23:12:51
Problema Joc9 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int element(const int&)': main.cpp:57:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i==1) return table[n][1]; ^~ main.cpp:58:14: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return table[n][n]; ^~~~~~ main.cpp: In function 'std::pair<int, int> pozitia(int*)': main.cpp:56:5: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized] if(i==0) return table[1][1]; ^~ main.cpp:64:9: note: 'poz' was declared here int poz; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK!1020
22ms131kbOK!10
33ms262kbOK!1020
43ms262kbOK!10
53ms262kbOK!1020
64ms262kbOK!10
74ms262kbOK!1020
84ms262kbOK!10
94ms262kbOK!1020
104ms262kbOK!10
Punctaj total100

Ceva nu functioneaza?