Borderou de evaluare (job #1805463)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 13 noiembrie 2016 21:19: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:108:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.in", "rt", stdin); ^ user.cpp:109:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.out", "wt", 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:173:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &opType); ^ user.cpp:176: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:201: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
120ms16132kbOK10
220ms16168kbOK10
320ms16240kbOK10
4244ms25516kbIncorect0
5152ms28540kbKilled by signal 11(SIGSEGV).0
6168ms33304kbKilled by signal 11(SIGSEGV).0
7204ms34572kbKilled by signal 11(SIGSEGV).0
8276ms39360kbKilled by signal 11(SIGSEGV).0
9632ms40060kbIncorect0
10304ms40716kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?