Borderou de evaluare (job #1886920)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 21 februarie 2017 11:25:22
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
14ms2824kbKilled by signal 11(SIGSEGV).0
24ms3144kbKilled by signal 11(SIGSEGV).0
38ms4200kbKilled by signal 11(SIGSEGV).0
424ms1252kbIncorect0
54ms2980kbKilled by signal 11(SIGSEGV).0
68ms4204kbKilled by signal 11(SIGSEGV).0
78ms4200kbKilled by signal 11(SIGSEGV).0
84ms2856kbKilled by signal 11(SIGSEGV).0
94ms2652kbKilled by signal 11(SIGSEGV).0
1016ms4200kbKilled by signal 11(SIGSEGV).0
118ms4200kbKilled by signal 11(SIGSEGV).0
1212ms4204kbKilled by signal 11(SIGSEGV).0
1316ms4200kbKilled by signal 11(SIGSEGV).0
1416ms4204kbKilled by signal 11(SIGSEGV).0
1516ms4204kbKilled by signal 11(SIGSEGV).0
1616ms4204kbKilled by signal 11(SIGSEGV).0
17Depăşit4204kbTime limit exceeded.0
1816ms4204kbKilled by signal 11(SIGSEGV).0
1916ms4204kbKilled by signal 11(SIGSEGV).0
2016ms4204kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?