Borderou de evaluare (job #2165025)
Utilizator | Data | 13 martie 2018 10:51:23 | |
---|---|---|---|
Problema | Euler | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:11: error: expected ‘]’ before numeric constant
int t[262 150],v[262 150];
^
user.cpp: In function ‘int main()’:
user.cpp:16:15: error: ‘v’ was not declared in this scope
while (f>>v[m]) m++;
^
user.cpp:23:21: error: ‘t’ was not declared in this scope
if (t[x]==v[i])
^
user.cpp:23:27: error: ‘v’ was not declared in this scope
if (t[x]==v[i])
^
user.cpp:30:17: error: ‘t’ was not declared in this scope
if (t[v[i]]) {ok=0;break;}
^
user.cpp:30:19: error: ‘v’ was not declared in this scope
if (t[v[i]]) {ok=0;break;}
^
user.cpp:31:29: error: ‘t’ was not declared in this scope
if (!s.empty()) t[v[i]]=s.top();
^
user.cpp:31:31: error: ‘v’ was not declared in this scope
if (!s.empty()) t[v[i]]=s.top();
^
user.cpp:32:20: error: ‘v’ was not declared in this scope
s.push(v[i]);
^
user.cpp:37:35: error: ‘t’ was not declared in this scope
for (i=1;i<=n;i++) g<<t[i]<<' ';
^
user.cpp:13:11: warning: unused variable ‘u’ [-Wunused-variable]
int n,u,m,x,ok=1,i;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !