Borderou de evaluare (job #1399254)

Utilizator geniucosOncescu Costin geniucos Data 24 martie 2015 17:30:07
Problema Afaceri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:15:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d %d %d %d %d", &N, &M, &Q, &L, &A0, &A1, &A2, &R); ^ user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LX); ^ user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &X[i]); ^ user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LY); ^ user.cpp:23:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Y[i]); ^ user.cpp:25:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("\n"); ^ user.cpp:26:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir); ^ user.cpp: In function ‘int main()’: user.cpp:95:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("afaceri.in", "r", stdin); ^ user.cpp:96:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("afaceri.out", "w", stdout); ^ /tmp/ccULTvs3.o: In function `Read()': user.cpp:(.text+0x12a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms4532kbKilled by signal 6(SIGABRT).0
224ms4552kbKilled by signal 6(SIGABRT).0
324ms4544kbKilled by signal 6(SIGABRT).0
424ms4544kbKilled by signal 6(SIGABRT).0
524ms4548kbKilled by signal 6(SIGABRT).0
624ms4552kbKilled by signal 6(SIGABRT).0
724ms4548kbKilled by signal 6(SIGABRT).0
828ms4548kbKilled by signal 6(SIGABRT).0
924ms4548kbKilled by signal 6(SIGABRT).0
1024ms4548kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?