Pagini recente »
Borderou de evaluare (job #598184)
|
Borderou de evaluare (job #598189)
Borderou de evaluare (job #598189)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if(v[i]==v[i-1] && v[i]==v[i+1])
| ^~
main.cpp:23:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
23 | if(v[1]==v[2]==v[n])
| ^~
main.cpp:23:20: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
23 | if(v[1]==v[2]==v[n])
| ~~~~^~~~~~
main.cpp:25:20: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
25 | if(v[n]==v[n-1]==v[1])
| ~~~~^~~~~~~~
main.cpp:9:28: warning: unused variable 'b' [-Wunused-variable]
9 | int n,k,i,vecini=0,j,x,b=0,fmax=0,kc;
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
262 kb
|
OK
|
10
|
|
2
|
1 ms
|
262 kb
|
OK
|
10
|
|
3
|
1 ms
|
262 kb
|
OK
|
10
|
|
4
|
20 ms
|
262 kb
|
OK
|
10
|
|
5
|
1 ms
|
262 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
262 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
262 kb
|
OK
|
10
|
|
8
|
1 ms
|
262 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
262 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
262 kb
|
Incorect
|
0
|
|
Punctaj total
|
50
|