Borderou de evaluare (job #1400574)

Utilizator seby5381Marinescu Sebastian seby5381 Data 25 martie 2015 12:38:54
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:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ /tmp/cc7TWSrT.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbIncorect0
236ms280kbIncorect0
3124ms284kbIncorect0
4Depăşit264kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit288kbTime limit exceeded.0
7Depăşit296kbTime limit exceeded.0
8Depăşit296kbTime limit exceeded.0
9Depăşit304kbTime limit exceeded.0
10Depăşit304kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?