Borderou de evaluare (job #3175834)
Utilizator | Data | 26 noiembrie 2023 14:11:24 | |
---|---|---|---|
Problema | Retea2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
60 | for (int i = n; j < n + m; ++j) {
| ^
main.cpp:42:9: note: 'int n' is not const
42 | int n, m;
| ^
main.cpp:60:29: error: the value of 'n' is not usable in a constant expression
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !