Borderou de evaluare (job #995865)
Utilizator | Data | 10 septembrie 2013 13:17:13 | |
---|---|---|---|
Problema | Treemis | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void df(int)’:
user.cpp:24:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a[nod].size(); ++i)
^
user.cpp:51:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a[nod].size(); ++i)
^
user.cpp:58:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(maxc < stCresc[whatStackCresc[a[nod][i]]].size())
^
user.cpp:64:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(maxd < stDesc[whatStackDesc[a[nod][i]]].size())
^
user.cpp:73:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a[nod].size(); ++i)
^
user.cpp:85:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; pCresc < stCresc[whatStackCresc[nod]].size(); ++pCresc)
^
user.cpp:103:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pCresc + step < stCresc[whatStackCresc[nod]].size() && stCresc[whatStackCresc[nod]][pCresc] <= val[nod])
^
user.cpp:107:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pDesc + step < stDesc[whatStackDesc[a[nod][i]]].size() && stDesc[whatStackDesc[a[nod][i]]][pDesc] >= val[nod])
^
user.cpp:134:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; pCresc < stCresc[whatStackCresc[a[nod][i]]].size(); ++pCresc)
^
user.cpp:141:24: error: ‘answer’ was not declared in this scope
if(answer > solMax)
^
user.cpp:151:80: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pCresc + step < stCresc[whatStackCresc[a[nod][i]]].size() && stCresc[whatStackCresc[a[nod][i]]][pCresc] <= val[nod])
^
user.cpp:155:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pDesc + step < stDesc[whatStackDesc[nod]].size() && stDesc[whatStackDesc[nod]][pDesc] >= val[nod])
^
user.cpp:178:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a[nod].size(); ++i)
^
user.cpp:187:76: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < stCresc[whatStackCresc[a[nod][i]]].size(); ++k)
^
user.cpp:199:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < stDesc[whatStackDesc[a[nod][i]]].size(); ++k)
^
user.cpp:214:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;step <= stCresc[whatStackCresc[nod]].size(); step *= 2);
^
user.cpp:217:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !