Borderou de evaluare (job #1427924)

Utilizator ButnaruButnaru George Butnaru Data 3 mai 2015 12:45:30
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool inhash(int, int)’: user.cpp:12:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (a->m=x) return true; ^ user.cpp: In function ‘int main()’: user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); ^ user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:26:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.in","r",stdin); ^ user.cpp:27:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.out","w",stdout); ^ user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:29:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); ^ user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&xx); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbKilled by signal 11(SIGSEGV).0
20ms240kbKilled by signal 11(SIGSEGV).0
30ms248kbKilled by signal 11(SIGSEGV).0
40ms240kbKilled by signal 11(SIGSEGV).0
50ms240kbKilled by signal 11(SIGSEGV).0
60ms240kbKilled by signal 11(SIGSEGV).0
70ms256kbKilled by signal 11(SIGSEGV).0
80ms240kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).0
100ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?