Borderou de evaluare (job #2603830)

Utilizator NToniBoSSNicolae Tonitza NToniBoSS Data 20 aprilie 2020 23:25:21
Problema Ro Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 55

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
13ms393kbok5
24ms917kbthe selected cities have a different total sum than the one you specified0
347ms1179kbthe selected cities have a different total sum than the one you specified0
4551ms7208kbTime limit exceeded0
5550ms7077kbTime limit exceeded0
6552ms4456kbTime limit exceeded0
7165ms1966kbok5
876ms2883kbok5
9557ms7413kbTime limit exceeded0
10551ms7471kbTime limit exceeded0
11552ms7471kbTime limit exceeded0
1233ms16121kbok5
135ms1441kbok5
147ms2359kbok5
1520ms8781kbok5
164ms1048kbok5
1718ms5505kbok5
1816ms3801kbthe selected cities have a different total sum than the one you specified0
193ms393kbok5
2011ms524kbok5
Punctaj total55

Ceva nu functioneaza?