Pagini recente » Borderou de evaluare (job #320108) | Borderou de evaluare (job #2578) | Borderou de evaluare (job #110613) | Borderou de evaluare (job #189958) | Borderou de evaluare (job #1702552)
Borderou de evaluare (job #1702552)
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 |
1 | 0ms | 416kb | Incorect | 0 |
2 | 0ms | 404kb | Incorect | 0 |
3 | 0ms | 408kb | Incorect | 0 |
4 | 0ms | 416kb | Incorect | 0 |
5 | 0ms | 412kb | Incorect | 0 |
6 | 0ms | 416kb | Incorect | 0 |
7 | 0ms | 416kb | Incorect | 0 |
8 | 0ms | 416kb | Incorect | 0 |
9 | 0ms | 408kb | Incorect | 0 |
10 | 0ms | 416kb | Incorect | 0 |
Punctaj total | 0 |