Pagini recente »
Borderou de evaluare (job #628542)
Borderou de evaluare (job #628542)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10 | for(i=1; i<=n; i++)
| ~^~~
main.cpp:17:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
17 | for(i=1; i<=m; i++)
| ~^~~
main.cpp:24:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
24 | for(i=1; i<=m+n; i++)
| ~^~~~~
main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
27 | if(max<a[i]) max=a[i];
| ~~~^~~~~
main.cpp:28:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
28 | if(min>a[i]) min=a[i];
| ~~~^~~~~
main.cpp:31:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
31 | for(i=1; i<=n+m; i++)
| ~^~~~~
main.cpp:33:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
33 | if(a[i]>=min && a[i]<=max)
| ~~~~^~~~~
main.cpp:33:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
33 | if(a[i]>=min && a[i]<=max)
| ~~~~^~~~~
main.cpp:37:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
37 | for(i=1; i<=n; i++)
| ~^~~
main.cpp:43:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
43 | for(i=1; i<=m; i++)
| ~^~~
main.cpp:8:15: warning: unused variable 'ok' [-Wunused-variable]
8 | int i, j, ok=0, max=0, min=50000, castigator;
| ^~
main.cpp:8:39: warning: unused variable 'castigator' [-Wunused-variable]
8 | int i, j, ok=0, max=0, min=50000, castigator;
| ^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
241 kb
|
OK
|
10
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
241 kb
|
Incorect
|
0
|
7
|
1 ms
|
376 kb
|
Incorect
|
0
|
8
|
1 ms
|
380 kb
|
Incorect
|
0
|
9
|
1 ms
|
376 kb
|
Incorect
|
0
|
10
|
1 ms
|
380 kb
|
Incorect
|
0
|
Punctaj total
|
30
|