Borderou de evaluare (job #1805552)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 13 noiembrie 2016 22:40:37
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:109:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.in", "rb", stdin); ^ user.cpp:110:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.out", "wb", stdout); ^ user.cpp:113: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:118: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:140:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", weight + i); ^ user.cpp:181:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &opType); ^ user.cpp:185: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:230: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
240ms31784kbOK10
340ms31864kbOK10
4188ms41116kbKilled by signal 11(SIGSEGV).0
5280ms44160kbKilled by signal 11(SIGSEGV).0
6324ms48920kbKilled by signal 11(SIGSEGV).0
7220ms50188kbKilled by signal 11(SIGSEGV).0
8264ms54960kbKilled by signal 11(SIGSEGV).0
9624ms55680kbIncorect0
10304ms56336kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?