Borderou de evaluare (job #822887)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Extraterestri1 (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 mai 2025 06:20:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int A(int)':
main.cpp:10:19: error: 'n' was not declared in this scope
10 | for(int l=0,r=n-1;l<=r;) {
| ^
main.cpp: In function 'int main()':
main.cpp:22:30: error: 'm' was not declared in this scope
22 | cin>>a>>c>>b>>d>>e,v[m++]={a,e},v[m++]={b+1,-e};
| ^
main.cpp:24:14: error: 'm' was not declared in this scope
24 | sort(v,v+m);
| ^