Borderou de evaluare (job #3171834)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> convolute(std::vector<int>&, std::vector<int>&, int)':
main.cpp:15:12: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
15 | if(!(n * m)&&!s) return n ? a : b;
| ~~~^~~~
main.cpp: In function 'void dfs(int, std::ofstream&)':
main.cpp:48:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
48 | if(dp[a].size() > k) ans = max(ans,dp[a][k]);
| ~~~~~~~~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 96ms | 130486kb | Memory limit exceeded | 0 | 0 |
2 | 39ms | 19206kb | Incorect | 0 |
Punctaj total | 0 |