Borderou de evaluare (job #1400461)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 25 martie 2015 12:12:47
Problema Logs Status done
Runda miercuri_10 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.in","r",stdin); ^ user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.out","w",stdout); ^ user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:22:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cccrYP8c.o: In function `main': user.cpp:(.text.startup+0x9e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
164ms404kbOK10
2Depăşit1204kbTime limit exceeded.0
3Depăşit1724kbTime limit exceeded.0
4Depăşit7548kbTime limit exceeded.0
5Depăşit7548kbTime limit exceeded.0
60ms324kbKilled by signal 6(SIGABRT).0
7Depăşit19276kbTime limit exceeded.0
80ms324kbKilled by signal 6(SIGABRT).0
90ms328kbKilled by signal 6(SIGABRT).0
100ms324kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?