Pagini recente » Borderou de evaluare (job #419129) | Borderou de evaluare (job #1744777) | Borderou de evaluare (job #1456252) | Borderou de evaluare (job #1319530) | Borderou de evaluare (job #2032435)
Borderou de evaluare (job #2032435)
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:90: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:100: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:101: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:102:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:106:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:111: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 | 1576ms | 15732kb | Raspuns gresit, drumul nu are lungimea 0. Reveniti! :) | 0 |
Punctaj total | 0 |