Borderou de evaluare (job #1437671)
Utilizator | Data | 18 mai 2015 11:25:41 | |
---|---|---|---|
Problema | Concurs | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:20: error: size of array ‘aint’ is too large
int aint[MAXN << 16];
^
user.cpp: In function ‘void initAI(int, int, int)’:
user.cpp:20:9: error: ‘aint’ was not declared in this scope
aint[nod] = points[eul[l]];
^
user.cpp:30:5: error: ‘aint’ was not declared in this scope
aint[nod] = maxim(aint[lc], aint[rc]);
^
user.cpp: In function ‘void queryAI(int, int, int)’:
user.cpp:35:18: error: ‘aint’ was not declared in this scope
if(val < aint[nod])
^
user.cpp: In function ‘void read()’:
user.cpp:57:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in", "r", stdin);
^
user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out", "w", stdout);
^
user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:66:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &points[i]);
^
user.cpp:69:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:85:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !