Borderou de evaluare (job #1400561)

Utilizator seby5381Marinescu Sebastian seby5381 Data 25 martie 2015 12:30:07
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13: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:14: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:15: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:18:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ /tmp/ccnx2t9X.o: In function `main': user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1408kbIncorect0
220ms3660kbIncorect0
360ms8492kbIncorect0
4304ms25972kbIncorect0
5236ms19104kbIncorect0
6Depăşit44268kbTime limit exceeded.0
7Depăşit42168kbTime limit exceeded.0
8Depăşit41864kbTime limit exceeded.0
9Depăşit19184kbTime limit exceeded.0
10Depăşit18996kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?