Borderou de evaluare (job #1479570)

Utilizator george_stelianChichirim George george_stelian Data 31 august 2015 16:51:37
Problema Ro Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int, int)’: user.cpp:36:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(*it!=tata) ^ user.cpp: In function ‘void solve(int, int, int)’: user.cpp:56:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<comp[*it-n].size();i++) ^ user.cpp:81:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j1=0;j1<comp[nod-n].size() && ok;j1++) ^ user.cpp:83:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j2=j1+1;j2<comp[nod-n].size();j2++) ^ user.cpp:88:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<comp[nod-n].size();j++) ^ user.cpp:90:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<comp[nod-n].size();j++) what[comp[nod-n][j]]=(i&(1<<j))>0; ^ user.cpp:92:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(*it!=tata) ^ user.cpp: In function ‘void build(int, int, int, int)’: user.cpp:109:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<comp[nod-n].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:118:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ro.in", "r", stdin); ^ user.cpp:119:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ro.out", "w", stdout); ^ user.cpp:121:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:122:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=n;i++) scanf("%d",&cost[i]); ^ user.cpp:125:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^ user.cpp: In function ‘void solve(int, int, int)’: user.cpp:55:41: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] int s1=inf,s2=inf,a1,a2,poz,lim=1<<comp[*it-n].size(); ^ user.cpp:63:48: warning: ‘a2’ may be used uninitialized in this function [-Wmaybe-uninitialized] d1[nod][1]+=s2;dad[*it-n][1]=a2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms932kbthe selected cities have a different total sum than the one you specified0
2104ms4988kbKilled by signal 11(SIGSEGV).0
3208ms5632kbKilled by signal 11(SIGSEGV).0
4120ms8480kbKilled by signal 11(SIGSEGV).0
552ms8560kbKilled by signal 11(SIGSEGV).0
6120ms7736kbKilled by signal 11(SIGSEGV).0
788ms6316kbKilled by signal 11(SIGSEGV).0
8164ms8220kbKilled by signal 11(SIGSEGV).0
9112ms8612kbKilled by signal 11(SIGSEGV).0
10112ms8620kbKilled by signal 11(SIGSEGV).0
11112ms8636kbKilled by signal 11(SIGSEGV).0
128ms4504kbthe total sum is too large :(0
130ms892kbthe total sum is too large :(0
140ms1112kbthe selected cities have a different total sum than the one you specified0
154ms2832kbthe selected cities have a different total sum than the one you specified0
160ms948kbthe total sum is too large :(0
17148ms8276kbKilled by signal 11(SIGSEGV).0
1884ms7792kbKilled by signal 11(SIGSEGV).0
190ms808kbthe selected cities have a different total sum than the one you specified0
20148ms4784kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?