Borderou de evaluare (job #1886967)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 21 februarie 2017 11:48:53
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d\n", &n); ^ user.cpp:46:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&X); ^ user.cpp:68:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d\n", &w, &b, &X, &Y); ^ user.cpp:68:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:68:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:68:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:42:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.in","r",stdin); ^ user.cpp:43:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.out","w",stdout); ^ user.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&X); ^ user.cpp:66:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nq); ^ user.cpp:68:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &w, &b, &X, &Y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
152ms4828kbIncorect0
264ms6256kbIncorect0
320msDepăşitMemory limit exceeded.0
420ms1252kbIncorect0
552ms5328kbIncorect0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
832ms5000kbIncorect0
932ms4084kbIncorect0
1032msDepăşitMemory limit exceeded.0
1120msDepăşitMemory limit exceeded.0
1228msDepăşitMemory limit exceeded.0
1332msDepăşitMemory limit exceeded.0
1432msDepăşitMemory limit exceeded.0
1532msDepăşitMemory limit exceeded.0
1632msDepăşitMemory limit exceeded.0
1732msDepăşitMemory limit exceeded.0
1832msDepăşitMemory limit exceeded.0
1932msDepăşitMemory limit exceeded.0
2032msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?