Borderou de evaluare (job #680524)

Utilizator cont_de_testeCont Teste cont_de_teste Data 15 februarie 2012 18:43:35
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:33: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%hd %hd", &a, &b); ^ user.cpp:38:33: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("zmeu2.in", "r", stdin); ^ user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("zmeu2.out", "w", stdout); ^ user.cpp:30:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%hd %hd %hd", &n, &p, &k); ^ user.cpp:32:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%hd %hd", d + i, c + i); ^ user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%hd %hd", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK10
20ms272kbOK10
30ms296kbKilled by signal 11(SIGSEGV).0
4Depăşit492kbTime limit exceeded.0
50ms288kbKilled by signal 11(SIGSEGV).0
60ms264kbKilled by signal 11(SIGSEGV).0
70ms272kbKilled by signal 11(SIGSEGV).0
80ms264kbKilled by signal 11(SIGSEGV).0
90ms292kbKilled by signal 11(SIGSEGV).0
100ms292kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?