Pagini recente »
Borderou de evaluare (job #756321)
Borderou de evaluare (job #756321)
Raport evaluator
Compilare:
main.cpp: In function 'long long int transformareinvers()':
main.cpp:30:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
30 | while(cnt<=a.size()-1)
| ~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:47:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
47 | for(int i = 0; i <= a.size() - 1 && sticle > k; i++)
| ~~^~~~~~~~~~~~~~~
main.cpp:46:19: warning: unused variable 'poz2' [-Wunused-variable]
46 | int poz = -1, poz2 = -1;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
241 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
15
|
1 ms
|
245 kb
|
OK
|
5
|
16
|
1 ms
|
245 kb
|
OK
|
5
|
17
|
1 ms
|
245 kb
|
OK
|
5
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
40
|