Borderou de evaluare (job #1731212)
Utilizator | Data | 18 iulie 2016 15:53:25 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:16: error: expected ‘]’ before numeric constant
int m[201][500 1],b[201];
^
user.cpp: In function ‘int main()’:
user.cpp:20:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s.size();j++)
^
user.cpp:22:13: error: ‘m’ was not declared in this scope
m[i][j+1]=s[j]-'a'+1;
^
user.cpp:24:9: error: ‘m’ was not declared in this scope
m[i][0]=s.size
^
user.cpp:25:9: error: expected ‘;’ before ‘if’
if(m[i][0]>maxx)
^
user.cpp:39:20: error: ‘m’ was not declared in this scope
if(m[i][0]==maxx && cont==0)
^
user.cpp:46:20: error: ‘m’ was not declared in this scope
if(m[i][0]==maxx && cont>=1)
^
user.cpp:64:22: error: ‘m’ was not declared in this scope
for(j=1;j<=m[poz][0];j++)
^
user.cpp:79:32: error: ‘m’ was not declared in this scope
for(q=1;q<=m[j][0];q++)
^
user.cpp:86:26: error: ‘m’ was not declared in this scope
if(t>m[i][0])
^
user.cpp:87:25: error: ‘b’ was not declared in this scope
b[i]=-1;
^
user.cpp:89:15: error: ‘b’ was not declared in this scope
if(b[i]!=-1)
^
user.cpp:95:16: error: ‘b’ was not declared in this scope
if(b[i]!=-1)
^
user.cpp:97:28: error: ‘m’ was not declared in this scope
for(j=1;j<=m[i][0];j++)
^
user.cpp:13:28: warning: unused variable ‘ok’ [-Wunused-variable]
int n,p,i,j,maxx=0,t,q,ok,poz;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !