Borderou de evaluare (job #2446127)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 7 august 2019 11:40:35
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
3195ms1048kbIncorect0
4469ms2498kbIncorect0
5224ms5009kbKilled by Signal 110
616ms524kbKilled by Signal 110
7261ms5791kbKilled by Signal 110
8303ms6184kbKilled by Signal 110
9295ms6316kbKilled by Signal 110
10287ms6316kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?