Pagini recente » Borderou de evaluare (job #1081824) | Borderou de evaluare (job #1087759) | Borderou de evaluare (job #2958923) | Borderou de evaluare (job #2637439) | Borderou de evaluare (job #2578019)
Borderou de evaluare (job #2578019)
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:41: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:70: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:71: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 | OK | 10 |
2 | 14ms | 262kb | OK | 10 |
3 | 18ms | 393kb | OK | 10 |
4 | 15ms | 393kb | OK | 10 |
5 | 18ms | 393kb | OK | 10 |
6 | 90ms | 524kb | OK | 10 |
7 | 200ms | 786kb | OK | 10 |
8 | 509ms | 1048kb | OK | 10 |
9 | 495ms | 1048kb | OK | 10 |
10 | 1110ms | 1179kb | OK | 10 |
Punctaj total | 100 |