Borderou de evaluare (job #1468952)

Utilizator atatomirTatomir Alex atatomir Data 7 august 2015 13:04:14
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40: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:41: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:43: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:45:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cc8sxKuS.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
10ms792kbOK10
28ms2684kbOK10
328ms3880kbOK10
4148ms17172kbOK10
5200ms17172kbOK10
6420ms33548kbOK10
7Depăşit43868kbTime limit exceeded.0
8Depăşit50544kbTime limit exceeded.0
9Depăşit50548kbTime limit exceeded.0
10Depăşit50544kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?