Borderou de evaluare (job #2905227)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | if(n - i - 1 >= n - m - ans.size()){ //daca mai am destule elemente cu care pot sa completez
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:35:27: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
35 | if(ans.size() < n - m){
| ~~~~~~~~~~~^~~~~~~
main.cpp:41:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i = 0; i < ans.size(); ++i){
| ~~^~~~~~~~~~~~
main.cpp:12:15: warning: unused variable 'x' [-Wunused-variable]
12 | int n, m, x;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 1ms | 184kb | Incorect | 0 |
5 | 11ms | 307kb | Incorect | 0 |
6 | 1ms | 184kb | Incorect | 0 |
7 | 1ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | Incorect | 0 |
9 | 1ms | 184kb | Incorect | 0 |
10 | 1ms | 184kb | Incorect | 0 |
Punctaj total | 10 |