Borderou de evaluare (job #1506203)

Utilizator theprdvtheprdv theprdv Data 20 octombrie 2015 10:15:00
Problema Secvmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:21: warning: unused variable ‘x’ [-Wunused-variable] for (int i = 1, x; i <= N; ++i) ^ user.cpp:75:17: warning: unused variable ‘a’ [-Wunused-variable] int a = 1; ^ user.cpp:57:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvmax.in", "r", stdin); ^ user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secvmax.out", "w", stdout); ^ user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:64:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] P[i] = i; ^ user.cpp:87:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] printf("%d\n", search(x)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms292kbKilled by signal 11(SIGSEGV).00
20ms312kbOK1010
30ms312kbOK1010
428ms556kbOK1010
524ms1356kbKilled by signal 11(SIGSEGV).00
636ms1924kbKilled by signal 11(SIGSEGV).0
7108ms2468kbKilled by signal 11(SIGSEGV).00
860ms2728kbKilled by signal 11(SIGSEGV).00
9152ms2992kbKilled by signal 11(SIGSEGV).0
10Depăşit2972kbTime limit exceeded.00
Punctaj total30

Ceva nu functioneaza?