Borderou de evaluare (job #2746988)
Utilizator | Data | 28 aprilie 2021 19:01:20 | |
---|---|---|---|
Problema | Loto | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool dei()':
main.cpp:17:3: error: 'rest' was not declared in this scope
rest=S-rezultate[i];
^~~~
main.cpp:18:3: error: 'st' was not declared in this scope
st=0;
^~
main.cpp:19:3: error: 'dr' was not declared in this scope
dr=nr-1;
^~
main.cpp:21:4: error: 'mij' was not declared in this scope
mij=(st+dr)/2;
^~~
main.cpp:23:17: error: 'afisare' was not declared in this scope
afisare(rest);
^
main.cpp: In function 'int main()':
main.cpp:34:9: warning: unused variable 'st' [-Wunused-variable]
int st,dr,mij,rest;
^~
main.cpp:34:12: warning: unused variable 'dr' [-Wunused-variable]
int st,dr,mij,rest;
^~
main.cpp:34:15: warning: unused variable 'mij' [-Wunused-variable]
int st,dr,mij,rest;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !