Borderou de evaluare (job #2153980)
Utilizator | Data | 6 martie 2018 16:52:31 | |
---|---|---|---|
Problema | Perle | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read()’:
user.cpp:10:11: error: ‘n’ was not declared in this scope
f >> n ;
^
user.cpp:12:14: error: ‘v’ was not declared in this scope
f >> v[i];
^
user.cpp: In function ‘void rezA()’:
user.cpp:20:8: error: ‘pos’ was not declared in this scope
if(pos!=0)
^
user.cpp: In function ‘void rezB()’:
user.cpp:25:8: error: ‘pos’ was not declared in this scope
if(pos==0)
^
user.cpp:27:8: error: ‘v’ was not declared in this scope
if(v[pos]==2)
^
user.cpp:27:10: error: ‘pos’ was not declared in this scope
if(v[pos]==2)
^
user.cpp: In function ‘void rezC()’:
user.cpp:50:8: error: ‘v’ was not declared in this scope
if(v[pos]==2)
^
user.cpp:50:10: error: ‘pos’ was not declared in this scope
if(v[pos]==2)
^
user.cpp:60:1: error: expected primary-expression before ‘}’ token
}
^
user.cpp: In function ‘void solve()’:
user.cpp:64:6: error: ‘pos’ was not declared in this scope
pos=1;rezA();
^
user.cpp:65:15: error: ‘n’ was not declared in this scope
if(pos==n+1)
^
user.cpp:68:15: error: ‘n’ was not declared in this scope
if(pos==n+1)
^
user.cpp:71:15: error: ‘n’ was not declared in this scope
if(pos==n+1)
^
user.cpp: In function ‘int main()’:
user.cpp:78:17: error: ‘t’ was not declared in this scope
for ( f >> t ; t ; t--)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !