Borderou de evaluare (job #1400463)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 25 martie 2015 12:13:31
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/ccgcPMm9.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
164ms408kbOK10
2Depăşit1208kbTime limit exceeded.0
3Depăşit1732kbTime limit exceeded.0
4Depăşit7568kbTime limit exceeded.0
5Depăşit7564kbTime limit exceeded.0
60ms328kbKilled by signal 6(SIGABRT).0
7Depăşit19308kbTime limit exceeded.0
80ms328kbKilled by signal 6(SIGABRT).0
90ms328kbKilled by signal 6(SIGABRT).0
100ms328kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?