Pagini recente » Borderou de evaluare (job #865361) | Borderou de evaluare (job #21404) | Borderou de evaluare (job #702615) | Borderou de evaluare (job #1064574) | Borderou de evaluare (job #2446124)
Borderou de evaluare (job #2446124)
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 | 169ms | 917kb | Incorect | 0 |
4 | 469ms | 2355kb | Incorect | 0 |
5 | 210ms | 4747kb | Killed by Signal 11 | 0 |
6 | 19ms | 524kb | Killed by Signal 11 | 0 |
7 | 260ms | 5529kb | Killed by Signal 11 | 0 |
8 | 283ms | 5931kb | Killed by Signal 11 | 0 |
9 | 297ms | 5947kb | Killed by Signal 11 | 0 |
10 | 297ms | 5922kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |