Borderou de evaluare (job #680528)

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

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
30ms292kbKilled by signal 11(SIGSEGV).0
480ms400kbOK10
50ms288kbKilled by signal 11(SIGSEGV).0
60ms264kbKilled by signal 11(SIGSEGV).0
70ms268kbKilled by signal 11(SIGSEGV).0
80ms260kbKilled by signal 11(SIGSEGV).0
90ms288kbKilled by signal 11(SIGSEGV).0
100ms292kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?