Borderou de evaluare (job #1886984)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 21 februarie 2017 11:53:41
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:66:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d\n", &n); ^ user.cpp:68:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&X); ^ user.cpp:90: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:90:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:90:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:90:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:64: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:65: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:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:68:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&X); ^ user.cpp:88:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nq); ^ user.cpp:90: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
148ms4820kbIncorect0
276ms6248kbIncorect0
320msDepăşitMemory limit exceeded.0
420ms1244kbIncorect0
556ms5320kbIncorect0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
832ms5000kbIncorect0
936ms4076kbIncorect0
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?