Borderou de evaluare (job #2446124)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 7 august 2019 11:36:56
Problema Puncte Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:89:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 1; i <= n; ++i) ^~~ main.cpp:91:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for ( int i = 0; i < 400; ++i) ^~~ main.cpp: In function 'int CB1(int, int)': main.cpp:19:38: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized] return (Valx[x] - Valx[b[buc][sol].first]) * (Valx[x] - Valx[b[buc][sol].first]) + Valy[b[buc][sol].second] * Valy[b[buc][sol].second] ; ^ main.cpp:28:9: note: 'sol' was declared here int sol; ^~~ main.cpp: In function 'int CB2(int, int)': main.cpp:19:38: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized] return (Valx[x] - Valx[b[buc][sol].first]) * (Valx[x] - Valx[b[buc][sol].first]) + Valy[b[buc][sol].second] * Valy[b[buc][sol].second] ; ^ main.cpp:46:9: note: 'sol' was declared here int sol; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
210ms393kbKilled by Signal 110
3169ms917kbIncorect0
4469ms2355kbIncorect0
5210ms4747kbKilled by Signal 110
619ms524kbKilled by Signal 110
7260ms5529kbKilled by Signal 110
8283ms5931kbKilled by Signal 110
9297ms5947kbKilled by Signal 110
10297ms5922kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?