Pagini recente » Borderou de evaluare (job #1334814) | Borderou de evaluare (job #545612) | Borderou de evaluare (job #1812564) | Borderou de evaluare (job #1327504) | Borderou de evaluare (job #2027992)
Borderou de evaluare (job #2027992)
Raport evaluator
Compilare:
user.cpp: In function ‘void Parcurgere(int, int)’:
user.cpp:36:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:45:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<v[nod].size()) son=v[nod][i].first;
^
user.cpp:34:9: warning: unused variable ‘k’ [-Wunused-variable]
int k=-1;
^
user.cpp:35:9: warning: unused variable ‘sz’ [-Wunused-variable]
int sz=v[nod].size();
^
user.cpp: In function ‘void Solve(int)’:
user.cpp:89:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
seen[st[i]]=cst[st[i]]=w[st[i]]=best[st[i]]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:99:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ecotraseu.in","r",stdin);
^
user.cpp:100:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ecotraseu.out","w",stdout);
^
user.cpp:101:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:105:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:110:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1632ms | 16044kb | Raspuns gresit, drumul nu are lungimea 0. Reveniti! :) | 0 |
Punctaj total | 0 |