Borderou de evaluare (job #3372416)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:19:21: warning: loop variable '<structured bindings>' creates a copy from type 'const std::pair<int, int>' [-Wrange-loop-construct]
19 | for (const auto [x,y] : g[n]) {
| ^~~~~
main.cpp:19:21: note: use reference type to prevent copying
19 | for (const auto [x,y] : g[n]) {
| ^~~~~
| &
main.cpp: In function 'int main()':
main.cpp:70:21: warning: loop variable '<structured bindings>' creates a copy from type 'const std::pair<int, int>' [-Wrange-loop-construct]
70 | for (const auto [x,y] : rez) {
| ^~~~~
main.cpp:70:21: note: use reference type to prevent copying
70 | for (const auto [x,y] : rez) {
| ^~~~~
| &
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 557kb | Ok, Solutie buna. | 10 |
| 2 | 1ms | 557kb | Ok, Solutie buna. | 10 |
| 3 | 1ms | 561kb | Ok, Solutie buna. | 10 |
| 4 | 1ms | 819kb | Ok, Solutie buna. | 10 |
| 5 | 1ms | 819kb | Ok, Solutie buna. | 10 |
| 6 | 2ms | 819kb | Ok, Solutie buna. | 10 |
| 7 | 2ms | 1081kb | Ok, Solutie buna. | 10 |
| 8 | 3ms | 1343kb | Ok, Solutie buna. | 10 |
| 9 | 4ms | 1605kb | Ok, Solutie buna. | 10 |
| 10 | 8ms | 2916kb | Ok, Solutie buna. | 10 |
| Punctaj total | 100 |