Borderou de evaluare (job #2705743)
Utilizator | Data | 13 februarie 2021 11:10:29 | |
---|---|---|---|
Problema | Matsum | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int getSum(long long int, long long int, long long int, long long int)':
main.cpp:29:19: error: 'r' was not declared in this scope
return ((firstDP[r][s] - firstDP[r][q-1] - firstDP[p-1][s] + firstDP[p-1][q-1]) % MODULO);
^
main.cpp:29:22: error: 's' was not declared in this scope
return ((firstDP[r][s] - firstDP[r][q-1] - firstDP[p-1][s] + firstDP[p-1][q-1]) % MODULO);
^
main.cpp:29:38: error: 'q' was not declared in this scope
return ((firstDP[r][s] - firstDP[r][q-1] - firstDP[p-1][s] + firstDP[p-1][q-1]) % MODULO);
^
main.cpp:29:53: error: 'p' was not declared in this scope
return ((firstDP[r][s] - firstDP[r][q-1] - firstDP[p-1][s] + firstDP[p-1][q-1]) % MODULO);
^
main.cpp: In function 'void fisier()':
main.cpp:85:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matsum.in" , "r", stdin);
^
main.cpp:86:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matsum.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !