Borderou de evaluare (job #2568450)
Utilizator | Data | 3 martie 2020 22:59:28 | |
---|---|---|---|
Problema | Ecuatii 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:1: error: declaration does not declare anything [-fpermissive]
int;
^~~
main.cpp: In function 'void upadate(int&)':
main.cpp:15:11: error: 'crt' was not declared in this scope
x += crt * s * m;
^~~
main.cpp:15:17: error: 's' was not declared in this scope
x += crt * s * m;
^
main.cpp:15:21: error: 'm' was not declared in this scope
x += crt * s * m;
^
main.cpp: In function 'int main()':
main.cpp:25:16: error: 's' was not declared in this scope
s = m = 1;
^
main.cpp:25:20: error: 'm' was not declared in this scope
s = m = 1;
^
main.cpp:26:16: error: 'crt' was not declared in this scope
crt = a = b = 0;
^~~
main.cpp:35:29: error: 'update' was not declared in this scope
update(a);
^
main.cpp:39:29: error: 'update' was not declared in this scope
update(b);
^
main.cpp:44:29: error: 'update' was not declared in this scope
update(b);
^
main.cpp:49:29: error: 'update' was not declared in this scope
update(b);
^
main.cpp:54:19: error: 'update' was not declared in this scope
update(b);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !