Borderou de evaluare (job #2014810)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 24 august 2017 14:45:11
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In member function ‘void Trie::cnt(int)’: user.cpp:49:13: warning: unused variable ‘ok’ [-Wunused-variable] int ok = 1; ^ user.cpp: In function ‘int main()’: user.cpp:61: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:62: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:65:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:69:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:78:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &m); ^ user.cpp:80:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/ccaLo2kJ.o: In function `main': user.cpp:(.text.startup+0xbe): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbOK10
24ms2072kbOK10
324ms9824kbOK10
4152ms61804kbOK10
5Depăşit119704kbTime limit exceeded.0
6Depăşit114292kbTime limit exceeded.0
7Depăşit117072kbTime limit exceeded.0
8Depăşit117200kbTime limit exceeded.0
9Depăşit116408kbTime limit exceeded.0
10Depăşit116804kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?