Pagini recente »
Borderou de evaluare (job #160575)
|
Borderou de evaluare (job #327366)
|
Borderou de evaluare (job #526934)
|
Borderou de evaluare (job #328788)
|
Borderou de evaluare (job #611860)
Borderou de evaluare (job #611860)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if(mas[i] < mas[j])
| ^~
main.cpp:34:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
34 | swap(mas[i], mas[j]);
| ^~~~
main.cpp:37:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
37 | for(i = 1; i <= n; i++)
| ^~~
main.cpp:39:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
39 | out << endl;
| ^~~
main.cpp:49:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
49 | for(k = 1; k <= n; k++)
| ^~~
main.cpp:54:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
54 | out << indice << ' ' << mas[i] << ' ' << cnt << ' ';
| ^~~
main.cpp:12:15: warning: unused variable 'maxkm' [-Wunused-variable]
12 | int n, i, maxkm, j, k;
| ^~~~~
main.cpp:54:38: warning: 'indice' may be used uninitialized in this function [-Wmaybe-uninitialized]
54 | out << indice << ' ' << mas[i] << ' ' << cnt << ' ';
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
1 ms
|
131 kb
|
OK
|
10
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
Incorect
|
0
|
6
|
1 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
131 kb
|
Incorect
|
0
|
9
|
9 ms
|
131 kb
|
Incorect
|
0
|
10
|
51 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
10
|