Pagini recente »
Borderou de evaluare (job #610307)
|
Borderou de evaluare (job #797640)
|
Borderou de evaluare (job #495482)
|
Borderou de evaluare (job #276950)
|
Borderou de evaluare (job #796450)
Borderou de evaluare (job #796450)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:14: warning: 'n' is used uninitialized [-Wuninitialized]
9 | int arr[n+1]; // 0 0 0 0 0 0 0 0
| ~^~
main.cpp:8:9: note: 'n' was declared here
8 | int n, e, p;
| ^
main.cpp:18:9: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized]
18 | if (arr[i] == e) {
| ^~
main.cpp:8:12: note: 'e' was declared here
8 | int n, e, p;
| ^
main.cpp:25:13: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
25 | if (i == p) {
| ^~
main.cpp:8:15: note: 'p' was declared here
8 | int n, e, p;
| ^
main.cpp:24:9: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized]
24 | if (i < k) {
| ^~
main.cpp:16:9: note: 'k' was declared here
16 | int k;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
Incorect
|
0
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
1 ms
|
507 kb
|
Incorect
|
0
|
5
|
1 ms
|
507 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|