Borderou de evaluare (job #2014774)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 24 august 2017 13:26:51
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.in", "r", stdin); ^ user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.out", "w", stdout); ^ user.cpp:60:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:65:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:81:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &m); ^ user.cpp:85:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/ccJXdmqh.o: In function `main': user.cpp:(.text.startup+0xd7): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms500kbOK10
24ms2124kbOK10
320ms9896kbOK10
4148ms61948kbIncorect0
5Depăşit85392kbTime limit exceeded.0
6Depăşit83408kbTime limit exceeded.0
7Depăşit61632kbTime limit exceeded.0
8Depăşit61764kbTime limit exceeded.0
9Depăşit60312kbTime limit exceeded.0
10Depăşit61360kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?