Borderou de evaluare (job #996090)

Utilizator raulstoinStoin Raul raulstoin Data 11 septembrie 2013 00:16:15
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void sift(short int)’: user.cpp:6:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define F1 nod<<1 ^ user.cpp:7:12: note: in expansion of macro ‘F1’ #define F2 F1+1 ^ user.cpp:34:55: note: in expansion of macro ‘F2’ if(c[HEAP[nod]]>c[HEAP[F1]] && (c[HEAP[F1]]<=c[HEAP[F2]] || (F1<=L && F2>L))) ^ user.cpp:6:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define F1 nod<<1 ^ user.cpp:7:12: note: in expansion of macro ‘F1’ #define F2 F1+1 ^ user.cpp:34:73: note: in expansion of macro ‘F2’ if(c[HEAP[nod]]>c[HEAP[F1]] && (c[HEAP[F1]]<=c[HEAP[F2]] || (F1<=L && F2>L))) ^ user.cpp:6:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define F1 nod<<1 ^ user.cpp:7:12: note: in expansion of macro ‘F1’ #define F2 F1+1 ^ user.cpp:40:26: note: in expansion of macro ‘F2’ if(c[HEAP[nod]]>c[HEAP[F2]] && c[HEAP[F1]]>c[HEAP[F2]] && F2<=L) ^ user.cpp:6:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define F1 nod<<1 ^ user.cpp:7:12: note: in expansion of macro ‘F1’ #define F2 F1+1 ^ user.cpp:40:53: note: in expansion of macro ‘F2’ if(c[HEAP[nod]]>c[HEAP[F2]] && c[HEAP[F1]]>c[HEAP[F2]] && F2<=L) ^ user.cpp:6:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define F1 nod<<1 ^ user.cpp:7:12: note: in expansion of macro ‘F1’ #define F2 F1+1 ^ user.cpp:40:61: note: in expansion of macro ‘F2’ if(c[HEAP[nod]]>c[HEAP[F2]] && c[HEAP[F1]]>c[HEAP[F2]] && F2<=L) ^ user.cpp:6:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define F1 nod<<1 ^ user.cpp:7:12: note: in expansion of macro ‘F1’
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms516kbOK5
20ms512kbOK5
30ms512kbOK5
40ms516kbOK5
50ms516kbIncorect0
60ms516kbIncorect0
74ms528kbIncorect0
84ms540kbOK5
94ms536kbIncorect0
104ms532kbIncorect0
114ms560kbIncorect0
124ms552kbIncorect0
134ms572kbOK5
144ms572kbIncorect0
154ms576kbIncorect0
164ms572kbIncorect0
174ms592kbIncorect0
184ms612kbIncorect0
198msDepăşitMemory limit exceeded.0
208msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?