Pagini recente »
Borderou de evaluare (job #580212)
|
Borderou de evaluare (job #93523)
|
Borderou de evaluare (job #437986)
|
Borderou de evaluare (job #271399)
|
Borderou de evaluare (job #645714)
Borderou de evaluare (job #645714)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if(v[j]-v[j-1] > maxdist)
| ^~
main.cpp:35:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
35 | sum += v[j]-v[j-1];
| ^~~
main.cpp:13:13: warning: unused variable 'r' [-Wunused-variable]
13 | int a,n,r,nr,i,rau,j,maxdist=0,sum=0,rasp1,rasp2,t,u,impmin=210000,imp;
| ^
main.cpp:13:15: warning: unused variable 'nr' [-Wunused-variable]
13 | int a,n,r,nr,i,rau,j,maxdist=0,sum=0,rasp1,rasp2,t,u,impmin=210000,imp;
| ^~
main.cpp:13:20: warning: unused variable 'rau' [-Wunused-variable]
13 | int a,n,r,nr,i,rau,j,maxdist=0,sum=0,rasp1,rasp2,t,u,impmin=210000,imp;
| ^~~
main.cpp:70:24: warning: 'rasp2' may be used uninitialized in this function [-Wmaybe-uninitialized]
70 | if(rasp1 >1000 && rasp2>1000)
| ~~~~~^~~~~
main.cpp:70:10: warning: 'rasp1' may be used uninitialized in this function [-Wmaybe-uninitialized]
70 | if(rasp1 >1000 && rasp2>1000)
| ~~~~~~^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
Punctaj total
|
10
|