Borderou de evaluare (job #1900509)
Utilizator | Data | 3 martie 2017 13:57:32 | |
---|---|---|---|
Problema | Logic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int evaluare_expr(std::string, int)’:
user.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int back(int)’:
user.cpp:20:12: error: ‘e1’ was not declared in this scope
if(e1!=e2)
^
user.cpp:20:16: error: ‘e2’ was not declared in this scope
if(e1!=e2)
^
user.cpp:21:13: error: ‘okk’ was not declared in this scope
okk=0;
^
user.cpp:23:20: error: ‘n’ was not declared in this scope
for(int i=1;i<=n;i++)
^
user.cpp:24:13: error: ‘folosit’ was not declared in this scope
if(!folosit[i])
^
user.cpp:26:14: error: ‘v’ was not declared in this scope
v[p]=i;folosit[i]=1;
^
user.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:36:8: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:38:13: error: ‘s1’ was not declared in this scope
fin>>s1>>s2;
^
user.cpp:38:17: error: ‘s2’ was not declared in this scope
fin>>s1>>s2;
^
user.cpp:39:12: error: ‘j’ was not declared in this scope
for(j=0;j<s1.size();j++)
^
user.cpp:41:12: error: ‘fr’ was not declared in this scope
fr[s1[j]-'a']=1;;
^
user.cpp:43:12: error: ‘j’ was not declared in this scope
for(j=0;j<s2.size();j++)
^
user.cpp:45:12: error: ‘fr2’ was not declared in this scope
fr2[s2[j]-'a']=1;
^
user.cpp:47:8: error: ‘ok’ was not declared in this scope
ok=1;
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !