Borderou de evaluare (job #1483102)

Utilizator SilviuIIon Silviu SilviuI Data 8 septembrie 2015 18:19:22
Problema Prefix2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",nr); ^ user.cpp:40:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.in","r",stdin); ^ user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.out","w",stdout); ^ user.cpp:42:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); n=strlen(s+1); root=new trie; ^ /tmp/ccPIt3Ox.o: In function `main': user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbIncorect0
20ms680kbIncorect0
384ms4720kbIncorect0
484ms4708kbIncorect0
584ms4704kbIncorect0
6Depăşit10044kbTime limit exceeded.0
7Depăşit9928kbTime limit exceeded.0
8Depăşit9968kbTime limit exceeded.0
9Depăşit9968kbTime limit exceeded.0
10Depăşit9972kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?