Borderou de evaluare (job #1805467)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 13 noiembrie 2016 21:23:48
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:174:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &opType); ^ user.cpp:177: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:202: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
140ms33324kbOK10
240ms33352kbOK10
344ms33436kbOK10
4200ms42680kbKilled by signal 11(SIGSEGV).0
5292ms45724kbKilled by signal 11(SIGSEGV).0
6336ms50484kbKilled by signal 11(SIGSEGV).0
7224ms51748kbKilled by signal 11(SIGSEGV).0
8268ms56532kbKilled by signal 11(SIGSEGV).0
9636ms57240kbIncorect0
10304ms58000kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?