Borderou de evaluare (job #2259119)

Utilizator AdiMunteanAdrian Muntean AdiMuntean Data 12 octombrie 2018 23:29:28
Problema Muzeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:31: error: size of array ‘a’ is too large long long a[10000001][10000001]; ^ user.cpp: In function ‘int main()’: user.cpp:34:17: error: ‘a’ was not declared in this scope a[i][j] = -2; ^ user.cpp:36:17: error: ‘a’ was not declared in this scope a[i][j] = -1; ^ user.cpp:59:17: error: ‘a’ was not declared in this scope if (a[vx.l][vx.c] == -1 || a[pos.l][pos.c] + 1 < a[vx.l][vx.c]) { ^ user.cpp:73:27: error: ‘a’ was not declared in this scope printf("%d ", a[i][j]); ^ user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzeu.in", "r", stdin); ^ user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzeu.out", "w", stdout); ^ user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &o); ^

Ceva nu functioneaza?