Borderou de evaluare (job #2560435)

Utilizator Anastasia11Susciuc Anastasia Anastasia11 Data 27 februarie 2020 23:33:35
Problema Pviz 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:20:22: error: 'x' was not declared in this scope scanf("%d ",&x),v[x] = true; ^ main.cpp:14:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pviz.in","r",stdin); ^ main.cpp:15:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pviz.out","w",stdout); ^ main.cpp:17:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &M); ^ Non zero exit status: 1

Ceva nu functioneaza?