Borderou de evaluare (job #3154607)
Utilizator | Data | 5 octombrie 2023 13:48:32 | |
---|---|---|---|
Problema | Densitate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'nmax' does not name a type
7 | nmax=1e9+1
| ^~~~
main.cpp: In function 'int stanga(int)':
main.cpp:14:7: error: 'p' was not declared in this scope
14 | j=p;
| ^
main.cpp:17:15: error: 'x' was not declared in this scope
17 | if(s<=x[mij]){
| ^
main.cpp: In function 'int dreapta(int)':
main.cpp:32:7: error: 'p' was not declared in this scope
32 | j=p;
| ^
main.cpp:35:15: error: 'x' was not declared in this scope
35 | if(d>=x[mij]){
| ^
main.cpp: In function 'int main()':
main.cpp:52:9: error: 'v' was not declared in this scope
52 | v[i]=1;
| ^
main.cpp:55:13: error: 'v' was not declared in this scope
55 | v[j]=1;
| ^
main.cpp:57:12: error: 'v' was not declared in this scope
57 | if(v[i] == 0)
| ^
main.cpp:58:13: error: 'x' was not declared in this scope
58 | x[++p]=i;
| ^
main.cpp:58:17: error: 'p' was not declared in this scope
58 | x[++p]=i;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !