Borderou de evaluare (job #2117651)

Utilizator barbuionBarbu Ion barbuion Data 29 ianuarie 2018 08:11:59
Problema Buline Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:18:5: error: ‘st’ was not declared in this scope st=1;dr=0; ^ user.cpp:18:10: error: ‘dr’ was not declared in this scope st=1;dr=0; ^ user.cpp:19:9: error: ‘i’ was not declared in this scope for(i=1;i<=2*n;i++) ^ user.cpp:19:18: error: ‘n’ was not declared in this scope for(i=1;i<=2*n;i++) ^ user.cpp:21:36: error: expected ‘]’ before ‘)’ token while(st<=dr&&S[i]<=S[q[dr]) ^ user.cpp:26:26: error: ‘Max’ was not declared in this scope if(S[i]-S[q[st]]>Max){ ^ user.cpp:28:12: error: ‘p’ was not declared in this scope p=q[st]+1; ^ user.cpp:29:12: error: ‘l’ was not declared in this scope l=i-p+1; ^ user.cpp:33:5: error: ‘g’ was not declared in this scope g<<Max<<" "<<p<<" "<<l; ^ user.cpp:33:8: error: ‘Max’ was not declared in this scope g<<Max<<" "<<p<<" "<<l; ^ user.cpp:33:18: error: ‘p’ was not declared in this scope g<<Max<<" "<<p<<" "<<l; ^ user.cpp:33:26: error: ‘l’ was not declared in this scope g<<Max<<" "<<p<<" "<<l; ^

Ceva nu functioneaza?