Borderou de evaluare (job #1983627)
Utilizator | Data | 22 mai 2017 12:35:37 | |
---|---|---|---|
Problema | Paranteze2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: expected initializer before ‘stack’
stack <long long> st;
^
user.cpp: In function ‘int main()’:
user.cpp:16:13: error: ‘st’ was not declared in this scope
if (st.size() && s[st.top()]=='(' && s[i]==')')
^
user.cpp:17:13: error: ‘nxt’ was not declared in this scope
nxt[st.top()]=i+1,st.pop();
^
user.cpp:21:13: error: ‘nxt’ was not declared in this scope
if (nxt[i])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !