Borderou de evaluare (job #1399401)

Utilizator geniucosOncescu Costin geniucos Data 24 martie 2015 18:49:29
Problema Afaceri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:14: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:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LX); ^ user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &X[i]); ^ user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LY); ^ user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Y[i]); ^ user.cpp:24:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("\n"); ^ user.cpp:25: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:149: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:150: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/ccu24t0J.o: In function `Read()': user.cpp:(.text+0xfa): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1324ms1012kbOK10
2516ms1028kbOK10
3520ms1024kbOK10
4716ms1032kbOK10
51000ms1040kbOK10
61484ms1036kbOK10
7Depăşit1012kbTime limit exceeded.0
8Depăşit1012kbTime limit exceeded.0
9Depăşit1012kbTime limit exceeded.0
10Depăşit1016kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?