Borderou de evaluare (job #1964602)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 13 aprilie 2017 15:58:57
Problema Casa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:79:33: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%c ", &x); ^ user.cpp:90:28: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%c", &x); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("casa.in","r",stdin); ^ user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("casa.out","w",stdout); ^ user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &p); ^ user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:25:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %c", &x, &y); ^ user.cpp:72:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &l1, &c1); ^ user.cpp:79:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%c ", &x); ^ user.cpp:90:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3424kbOK10
24ms3428kbIncorect0
38ms3516kbOK10
440msDepăşitMemory limit exceeded.0
532msDepăşitMemory limit exceeded.0
632msDepăşitMemory limit exceeded.0
720ms3580kbOK10
816ms3600kbIncorect0
940ms3988kbOK10
1020ms3608kbIncorect0
Punctaj total40

Ceva nu functioneaza?