Borderou de evaluare (job #2028203)
Utilizator | Data | 27 septembrie 2017 13:01:01 | |
---|---|---|---|
Problema | Arie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:8: error: ‘m’ was not declared in this scope
f>>m;
^
user.cpp:39:9: error: ‘p’ was not declared in this scope
p=v1[i];
^
user.cpp:40:36: error: ‘semn’ was not declared in this scope
if(aria(v2[1],v2[2],p)>=0) semn=1;
^
user.cpp:41:14: error: ‘semn’ was not declared in this scope
else semn=-1;
^
user.cpp:42:9: error: ‘ok’ was not declared in this scope
ok=1;
^
user.cpp:45:43: error: ‘semn’ was not declared in this scope
if(aria(v2[j],v2[j+1],p)>0 && semn==-1) ok=0;
^
user.cpp:46:43: error: ‘semn’ was not declared in this scope
if(aria(v2[j],v2[j+1],p)<0 && semn==1) ok=0;
^
user.cpp:52:9: error: ‘p’ was not declared in this scope
p=v2[i];
^
user.cpp:53:36: error: ‘semn’ was not declared in this scope
if(aria(v1[1],v1[2],p)>=0) semn=1;
^
user.cpp:54:14: error: ‘semn’ was not declared in this scope
else semn=-1;
^
user.cpp:55:9: error: ‘ok’ was not declared in this scope
ok=1;
^
user.cpp:58:43: error: ‘semn’ was not declared in this scope
if(aria(v1[j],v1[j+1],p)>0 && semn==-1) ok=0;
^
user.cpp:59:43: error: ‘semn’ was not declared in this scope
if(aria(v1[j],v1[j+1],p)<0 && semn==1) ok=0;
^
user.cpp:69:17: error: no match for ‘operator==’ (operand types are ‘pct’ and ‘int’)
if(v1[i]==0 && v1[i+1]==1) start1=i;
^
user.cpp:69:17: note: candidates are:
In file included from /usr/include/c++/4.8/bits/stl_algo.h:66:0,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:3:
/usr/include/c++/4.8/functional:2540:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !