Borderou de evaluare (job #2541465)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 8 februarie 2020 13:51:51
Problema Johnie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:63:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::vector<int> >::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", paths.size()); ^ main.cpp:64:11: error: found ':' in nested-name-specifier, expected '::' for(path: paths) { ^ main.cpp:64:7: error: 'path' is not a class, namespace, or enumeration for(path: paths) { ^~~~ main.cpp:71:3: error: expected primary-expression before 'return' return 0; ^~~~~~ main.cpp:71:3: error: expected ';' before 'return' main.cpp:71:3: error: expected primary-expression before 'return' main.cpp:71:3: error: expected ')' before 'return' main.cpp:35:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("johnie.in", "r", stdin); ^ main.cpp:36:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("johnie.out", "w", stdout); ^ main.cpp:39:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:41:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ Non zero exit status: 1

Ceva nu functioneaza?