Pagini recente » Borderou de evaluare (job #2364060) | Borderou de evaluare (job #2805905) | Borderou de evaluare (job #2851346) | Borderou de evaluare (job #2363941) | Borderou de evaluare (job #2824867)
Borderou de evaluare (job #2824867)
Raport evaluator
Compilare:
main.cpp: In function 'int dfs_sum(int, int&, std::vector<int>&)':
main.cpp:36:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int i = 0; i < graph[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int maximum_sum()':
main.cpp:61:9: warning: variable 'result' set but not used [-Wunused-but-set-variable]
61 | int result;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:70:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
70 | read_graph("../asmax.in");
| ^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 21ms | 1245kb | Incorect | 0 |
| 2 | 2ms | 184kb | Incorect | 0 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 2ms | 184kb | Incorect | 0 |
| 5 | 2ms | 184kb | Incorect | 0 |
| 6 | 2ms | 184kb | Incorect | 0 |
| 7 | 11ms | 802kb | Incorect | 0 |
| 8 | 21ms | 1236kb | Incorect | 0 |
| 9 | 21ms | 1241kb | Incorect | 0 |
| 10 | 21ms | 1236kb | Incorect | 0 |
| Punctaj total | 10 |