Borderou de evaluare (job #1305770)

Utilizator bogdanpaunFMI Paun Bogdan Gabriel bogdanpaun Data 30 decembrie 2014 05:46:14
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:75:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j < tmp->v.size(); ++j) sum[ tmp->v[j] ] = tmp->n0; ^ user.cpp:39:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("seti.in" , "r" , stdin); ^ user.cpp:40:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("seti.out", "w" , stdout); ^ user.cpp:42:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:43:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=0;i<n;++i) scanf("%s\n", sir + 64*i ); ^ user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&m); ^ user.cpp:47:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms532kbOK10
20ms492kbOK10
30ms548kbOK10
48ms980kbKilled by signal 11(SIGSEGV).0
512ms3676kbKilled by signal 11(SIGSEGV).0
616ms3708kbKilled by signal 11(SIGSEGV).0
716ms3744kbKilled by signal 11(SIGSEGV).0
8156ms52712kbKilled by signal 11(SIGSEGV).0
9164ms59844kbKilled by signal 11(SIGSEGV).0
1044ms5180kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?