Borderou de evaluare (job #1400411)

Utilizator seby5381Marinescu Sebastian seby5381 Data 25 martie 2015 11:48:55
Problema Logs Status done
Runda miercuri_10 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:6: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:7: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:8:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:11:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ /tmp/ccEBaSuk.o: In function `main': user.cpp:(.text.startup+0x8a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms1388kbOK10
2156ms3632kbIncorect0
3Depăşit8396kbTime limit exceeded.0
4Depăşit21708kbTime limit exceeded.0
5Depăşit18936kbTime limit exceeded.0
6368ms29516kbKilled by signal 11(SIGSEGV).0
7Depăşit25648kbTime limit exceeded.0
8368ms29216kbKilled by signal 11(SIGSEGV).0
9216ms11336kbKilled by signal 11(SIGSEGV).0
10216ms11336kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?