Borderou de evaluare (job #2143980)

Utilizator stoianmihailStoian Mihail stoianmihail Data 26 februarie 2018 13:58:07
Problema Maxq Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘cell join(int, int)’: user.cpp:26:70: error: expected ‘)’ before ‘;’ token other.dr = MAX(MAX(tree[right].dr, tree[left].dr + tree[right].sum); ^ user.cpp: In function ‘int main()’: user.cpp:82:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &N); ^ user.cpp:84:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &val[i]); ^ user.cpp:89:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxq.out", "w", stdout); ^ user.cpp:90:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &M); ^ user.cpp:92:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d", &op, &a, &b); ^

Ceva nu functioneaza?