Borderou de evaluare (job #2099258)

Utilizator mariastStoichitescu Maria mariast Data 4 ianuarie 2018 11:40:41
Problema Zmeu2 Status done
Runda vacanta_11_3 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int, int)’: user.cpp:10:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<g[x].size();++i){ ^ user.cpp: In function ‘int main()’: user.cpp:28:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&d[i],&c[i]); ^ user.cpp:28:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.in","r",stdin); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.out","w",stdout); ^ user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&p,&k); ^ user.cpp:28:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&d[i],&c[i]); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112msDepăşitMemory limit exceeded.0
20ms268kbOK10
3Depăşit368kbTime limit exceeded.0
4Depăşit368kbTime limit exceeded.0
58ms292kbOK10
60ms268kbIncorect0
712msDepăşitMemory limit exceeded.0
80ms268kbIncorect0
920msDepăşitMemory limit exceeded.0
1024msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?