Borderou de evaluare (job #2281686)

Utilizator AnnaLipianuLipianu Ana AnnaLipianu Data 12 noiembrie 2018 17:27:26
Problema Livada3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=m;i++) ^~~ main.cpp:16:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' xx=u+1; ^~ main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.in","r",stdin); ^ main.cpp:9:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.out","w",stdout); ^ main.cpp:12:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%lld%d",&n,&m,&c,&r); ^ main.cpp:13:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld%lld",&x,&y,&z,&w,&u); ^ main.cpp:15:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[1][i]); ^ main.cpp:21:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i][1]); ^ main.cpp:62:28: warning: 'xxx' may be used uninitialized in this function [-Wmaybe-uninitialized] if(sp[i][xxx]<c&&xxx!=0) ~~~~~~~~~~~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms786kbOK10
27ms1572kbIncorect0
361ms5373kbIncorect0
468ms6160kbIncorect0
594ms7733kbIncorect0
689ms7733kbIncorect0
7403ms10092kbTime limit exceeded0
8403ms19791kbTime limit exceeded0
9400ms10878kbTime limit exceeded0
102ms393kbIncorect0
Punctaj total10

Ceva nu functioneaza?