Borderou de evaluare (job #2578011)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> knapsack(std::vector<int>&)':
main.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size (); i++) {
~~^~~~~~~~~~~
main.cpp: In function 'void dfs(int, int)':
main.cpp:43:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size () && i <= k; i++) {
~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:72:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("grarbore.in", "r", stdin);
^
main.cpp:73:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("grarbore.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Incorect | 0 |
2 | 14ms | 262kb | Incorect | 0 |
3 | 17ms | 393kb | Incorect | 0 |
4 | 15ms | 393kb | Incorect | 0 |
5 | 17ms | 393kb | Incorect | 0 |
6 | 89ms | 524kb | Incorect | 0 |
7 | 228ms | 786kb | Incorect | 0 |
8 | 491ms | 1048kb | Incorect | 0 |
9 | 477ms | 1048kb | Incorect | 0 |
10 | 1087ms | 1179kb | Incorect | 0 |
Punctaj total | 0 |