Borderou de evaluare (job #1886916)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 21 februarie 2017 11:23:18
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:41:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d\n", &n); ^ user.cpp:43:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&X); ^ user.cpp:59:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d\n", &a, &b, &x, &y); ^ user.cpp:59:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:59:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:59:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:39: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:40: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:41:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:43:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&X); ^ user.cpp:57:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nq); ^ user.cpp:59:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &a, &b, &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms4812kbKilled by signal 11(SIGSEGV).0
28ms6196kbKilled by signal 11(SIGSEGV).0
320msDepăşitMemory limit exceeded.0
424ms1244kbIncorect0
58ms5300kbKilled by signal 11(SIGSEGV).0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
88ms4976kbKilled by signal 11(SIGSEGV).0
98ms4088kbKilled by signal 11(SIGSEGV).0
1040msDepăşitMemory limit exceeded.0
1124msDepăşitMemory limit exceeded.0
1240msDepăşitMemory limit exceeded.0
1344msDepăşitMemory limit exceeded.0
1444msDepăşitMemory limit exceeded.0
1544msDepăşitMemory limit exceeded.0
1644msDepăşitMemory limit exceeded.0
1744msDepăşitMemory limit exceeded.0
1844msDepăşitMemory limit exceeded.0
1944msDepăşitMemory limit exceeded.0
2044msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?