Borderou de evaluare (job #1668941)

Utilizator CodrutLemeniCodrut Lemeni CodrutLemeni Data 30 martie 2016 10:43:11
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secventa.in","r",stdin); ^ user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secventa.out","w",stdout); ^ user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:38:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir); ^ /tmp/ccwOjMGA.o: In function `main': user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK10
20ms592kbOK10
34ms964kbKilled by signal 6(SIGABRT).0
44ms964kbKilled by signal 6(SIGABRT).0
54ms956kbKilled by signal 6(SIGABRT).0
64ms960kbKilled by signal 6(SIGABRT).0
74ms960kbKilled by signal 6(SIGABRT).0
84ms960kbKilled by signal 6(SIGABRT).0
94ms964kbKilled by signal 6(SIGABRT).0
104ms964kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?