Borderou de evaluare (job #2020427)
Utilizator | Data | 10 septembrie 2017 10:24:12 | |
---|---|---|---|
Problema | Dreptunghiuri2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:87:72: error: parameter declared ‘auto’
void doFill(int l, int c, int val, int cod, auto a[MAX_N + 2][MAX_M + 2])
^
user.cpp: In function ‘void solve()’:
user.cpp:151:37: error: too many arguments to function ‘void doFill(int, int, int, int)’
doFill(i, j, 1, 1, a);
^
user.cpp:87:6: note: declared here
void doFill(int l, int c, int val, int cod, auto a[MAX_N + 2][MAX_M + 2])
^
user.cpp:175:41: error: too many arguments to function ‘void doFill(int, int, int, int)’
doFill(i, j, mx, 0, smen);
^
user.cpp:87:6: note: declared here
void doFill(int l, int c, int val, int cod, auto a[MAX_N + 2][MAX_M + 2])
^
user.cpp: In function ‘void readFile()’:
user.cpp:36:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &n, &m);
^
user.cpp:43:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &nr);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !