Borderou de evaluare (job #1805529)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 13 noiembrie 2016 22:26:19
Problema Rafaela Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:108:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.in", "r", stdin); ^ user.cpp:109:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.out", "w", stdout); ^ user.cpp:112:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ user.cpp:117:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp:139:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", weight + i); ^ user.cpp:177:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &opType); ^ user.cpp:180:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &delta, &node); node -= 1; ^ user.cpp:224:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &node); node -= 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms31760kbOK10
240ms31788kbOK10
340ms31864kbOK10
4184ms41128kbKilled by signal 11(SIGSEGV).0
5280ms44172kbKilled by signal 11(SIGSEGV).0
6312ms48932kbKilled by signal 11(SIGSEGV).0
7220ms50204kbKilled by signal 11(SIGSEGV).0
8264ms54968kbKilled by signal 11(SIGSEGV).0
9620ms55688kbIncorect0
10292ms56344kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?