Pagini recente » Borderou de evaluare (job #55855) | Borderou de evaluare (job #400459) | Borderou de evaluare (job #3266662) | Borderou de evaluare (job #617593) | Borderou de evaluare (job #2603830)
Borderou de evaluare (job #2603830)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:19:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(it!=tata)
^
main.cpp: In function 'int main()':
main.cpp:131:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=0; k<comp[i].size()-1; k++)
~^~~~~~~~~~~~~~~~~
main.cpp:132:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int kk=k+1; kk<comp[i].size(); kk++)
~~^~~~~~~~~~~~~~~
main.cpp:151:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<comp[z.st].size(); i++)
~^~~~~~~~~~~~~~~~~~
main.cpp:157:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<comp[it].size(); j++)
~^~~~~~~~~~~~~~~~
main.cpp:159:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=0; k<comp[z.st].size(); k++)
~^~~~~~~~~~~~~~~~~~
main.cpp:162:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k<comp[z.st].size()) break;
~^~~~~~~~~~~~~~~~~~
main.cpp:103:31: 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);
^
main.cpp:104:33: 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);
^
main.cpp:105:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:107:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:109:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp: In function 'void dfs2(int)':
main.cpp:64:20: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,m,mask,j,k,_mask;
^
main.cpp: In function 'int main()':
main.cpp:164:101: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(((mask&(1<<j))==0 && ((z.nd&(1<<k))>0)) || ((mask&(1<<j))>0 && ((z.nd&(1<<k))==0)));
~~~~~~~~~~~~~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | ok | 5 |
2 | 4ms | 917kb | the selected cities have a different total sum than the one you specified | 0 |
3 | 47ms | 1179kb | the selected cities have a different total sum than the one you specified | 0 |
4 | 551ms | 7208kb | Time limit exceeded | 0 |
5 | 550ms | 7077kb | Time limit exceeded | 0 |
6 | 552ms | 4456kb | Time limit exceeded | 0 |
7 | 165ms | 1966kb | ok | 5 |
8 | 76ms | 2883kb | ok | 5 |
9 | 557ms | 7413kb | Time limit exceeded | 0 |
10 | 551ms | 7471kb | Time limit exceeded | 0 |
11 | 552ms | 7471kb | Time limit exceeded | 0 |
12 | 33ms | 16121kb | ok | 5 |
13 | 5ms | 1441kb | ok | 5 |
14 | 7ms | 2359kb | ok | 5 |
15 | 20ms | 8781kb | ok | 5 |
16 | 4ms | 1048kb | ok | 5 |
17 | 18ms | 5505kb | ok | 5 |
18 | 16ms | 3801kb | the selected cities have a different total sum than the one you specified | 0 |
19 | 3ms | 393kb | ok | 5 |
20 | 11ms | 524kb | ok | 5 |
Punctaj total | 55 |