Pagini recente » prega_oji2k21 | Borderou de evaluare (job #203732) | Borderou de evaluare (job #691796) | Borderou de evaluare (job #1204754) | Borderou de evaluare (job #1479848)
Borderou de evaluare (job #1479848)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:37:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(*it!=tata)
^
user.cpp: In function ‘void solve(int, int, int)’:
user.cpp:57:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<comp[*it-n].size();i++)
^
user.cpp:82:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j1=0;j1<comp[nod-n].size() && ok;j1++)
^
user.cpp:84:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j2=j1+1;j2<comp[nod-n].size();j2++)
^
user.cpp:89:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<comp[nod-n].size();j++)
^
user.cpp:91: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:93: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:110: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:119: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:120: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:122: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:123: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:126: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:56: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:64: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 |
| 1 | 8ms | 940kb | the selected cities have a different total sum than the one you specified | 0 |
| 2 | 0ms | 1016kb | Killed by signal 6(SIGABRT). | 0 |
| 3 | 0ms | 1664kb | Killed by signal 6(SIGABRT). | 0 |
| 4 | 8ms | 4524kb | Killed by signal 6(SIGABRT). | 0 |
| 5 | 12ms | 4612kb | Killed by signal 6(SIGABRT). | 0 |
| 6 | 8ms | 3784kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 4ms | 2356kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 8ms | 4264kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 8ms | 4660kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 8ms | 4664kb | Killed by signal 6(SIGABRT). | 0 |
| 11 | 8ms | 4688kb | Killed by signal 6(SIGABRT). | 0 |
| 12 | 8ms | 4512kb | the total sum is too large :( | 0 |
| 13 | 0ms | 904kb | the total sum is too large :( | 0 |
| 14 | 0ms | 1120kb | the selected cities have a different total sum than the one you specified | 0 |
| 15 | 4ms | 2840kb | the selected cities have a different total sum than the one you specified | 0 |
| 16 | 0ms | 956kb | the total sum is too large :( | 0 |
| 17 | 8ms | 4324kb | Killed by signal 6(SIGABRT). | 0 |
| 18 | 8ms | 3840kb | Killed by signal 6(SIGABRT). | 0 |
| 19 | 4ms | 808kb | the selected cities have a different total sum than the one you specified | 0 |
| 20 | 0ms | 816kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 |