Pagini recente » Borderou de evaluare (job #1713370) | Borderou de evaluare (job #991732) | Borderou de evaluare (job #306342) | Borderou de evaluare (job #1116561) | Borderou de evaluare (job #2446127)
Borderou de evaluare (job #2446127)
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 |
1 | 3ms | 131kb | Killed by Signal 11 | 0 |
2 | 10ms | 393kb | Killed by Signal 11 | 0 |
3 | 195ms | 1048kb | Incorect | 0 |
4 | 469ms | 2498kb | Incorect | 0 |
5 | 224ms | 5009kb | Killed by Signal 11 | 0 |
6 | 16ms | 524kb | Killed by Signal 11 | 0 |
7 | 261ms | 5791kb | Killed by Signal 11 | 0 |
8 | 303ms | 6184kb | Killed by Signal 11 | 0 |
9 | 295ms | 6316kb | Killed by Signal 11 | 0 |
10 | 287ms | 6316kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |