Borderou de evaluare (job #1931651)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 19 martie 2017 14:16:07
Problema Qnp Status done
Runda Algoritmiada 2017 Runda 1 Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:80:39: error: ‘nxt’ was not declared in this scope for(int j=0; j<a[i]; j++) nxt[N++] = i; ^ user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qnp.in", "r", stdin); ^ user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qnp.out", "w", stdout); ^ user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ user.cpp:79:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:84:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &NR); ^

Ceva nu functioneaza?