Borderou de evaluare (job #2313243)

Utilizator akaprosAna Kapros akapros Data 6 ianuarie 2019 14:44:57
Problema Critice2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void initSt()': main.cpp:122:18: error: 'n' was not declared in this scope if (i <= n) vis[i] = false; ^ main.cpp: In function 'int main()': main.cpp:175:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ main.cpp:179:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ main.cpp:186:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &E); ^ main.cpp:191:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%lf", &x, &y, &p); ^ Non zero exit status: 1

Ceva nu functioneaza?