Pagini recente » Borderou de evaluare (job #2895562) | Borderou de evaluare (job #2892682) | Borderou de evaluare (job #257444) | Borderou de evaluare (job #2486414) | Borderou de evaluare (job #2027964)
Borderou de evaluare (job #2027964)
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:88: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:98: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:99: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:100:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:104:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:109: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 | 36ms | 13788kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |