Borderou de evaluare (job #2603829)

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

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
161ms34832kbMemory limit exceeded0
261ms34832kbMemory limit exceeded0
361ms34832kbMemory limit exceeded0
461ms34832kbMemory limit exceeded0
561ms34832kbMemory limit exceeded0
661ms34832kbMemory limit exceeded0
761ms34832kbMemory limit exceeded0
876ms34832kbMemory limit exceeded0
964ms34832kbMemory limit exceeded0
1061ms34832kbMemory limit exceeded0
1161ms34832kbMemory limit exceeded0
1261ms34832kbMemory limit exceeded0
1361ms34832kbMemory limit exceeded0
1464ms34832kbMemory limit exceeded0
1561ms34832kbMemory limit exceeded0
1661ms34832kbMemory limit exceeded0
1761ms34832kbMemory limit exceeded0
1861ms34832kbMemory limit exceeded0
1961ms34832kbMemory limit exceeded0
2061ms34832kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?