Borderou de evaluare (job #1443450)

Utilizator YusukeFMI Mares Medar Razvan Yusuke Data 27 mai 2015 22:16:05
Problema Catun Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul I, Semestrul 2 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:56:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p = V(i)) ^ user.cpp:68:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(rez[c] == -1 || flag[c] && rez[c] > f) rez[c]=f,flag[c]=1; ^ user.cpp:8:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define V(i) vec[(i)%1001] ^ user.cpp:76:24: note: in expansion of macro ‘V’ } while(p = V(i)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms544kbOK10
20ms512kbIncorect0
38ms668kbIncorect0
40ms428kbIncorect0
58ms6176kbKilled by signal 11(SIGSEGV).0
68ms7452kbKilled by signal 11(SIGSEGV).0
78ms5888kbKilled by signal 11(SIGSEGV).0
88ms6180kbKilled by signal 11(SIGSEGV).0
916ms11972kbKilled by signal 11(SIGSEGV).0
1024ms21600kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?