Borderou de evaluare (job #1702552)

Utilizator adina0822Ciubotaru Adina-Maria adina0822 Data 15 mai 2016 12:59:32
Problema Cristale Status done
Runda itm2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int max2(int, int, int)’: user.cpp:15:13: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(a>=b && a<=c || a<=b && a>=c) return a; ^ user.cpp:16:13: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(b>=a && b<=c || b<=a && b>=c) return b; ^ user.cpp:17:13: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(c>=a && c<=b || c<=a && c>=b) return c; ^ user.cpp: In function ‘int main()’: user.cpp:43:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(nra && nrb || nra && nrc || nrb && nrc) ^ user.cpp:43:47: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(nra && nrb || nra && nrc || nrb && nrc) ^ user.cpp: In function ‘int max1(int, int, int)’: user.cpp:12:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int max2(int, int, int)’: user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbIncorect0
20ms404kbIncorect0
30ms408kbIncorect0
40ms416kbIncorect0
50ms412kbIncorect0
60ms416kbIncorect0
70ms416kbIncorect0
80ms416kbIncorect0
90ms408kbIncorect0
100ms416kbIncorect0
Punctaj total0

Ceva nu functioneaza?