Borderou de evaluare (job #1399281)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:131:14: warning: unused variable ‘pas’ [-Wunused-variable] int sol = 0, pas = 0; ^ user.cpp: In function ‘void Read()’: user.cpp:13: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:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LX); ^ user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &X[i]); ^ user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &LY); ^ user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &Y[i]); ^ user.cpp:23:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("\n"); ^ user.cpp:24: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:106: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:107: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/ccqPidKO.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
1504ms1320kbOK10
2736ms1348kbIncorect0
3608ms1328kbOK10
41084ms1344kbIncorect0
51812ms1344kbIncorect0
6Depăşit1324kbTime limit exceeded.0
7Depăşit1324kbTime limit exceeded.0
8Depăşit1316kbTime limit exceeded.0
9Depăşit1320kbTime limit exceeded.0
10Depăşit1316kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?