Borderou de evaluare (job #1483082)

Utilizator SilviuIIon Silviu SilviuI Data 8 septembrie 2015 17:47:33
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:47:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",nr); ^ user.cpp:41: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:42: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:43: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/ccGY9puT.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
10ms268kbIncorect0
20ms472kbIncorect0
3Depăşit428kbTime limit exceeded.0
4Depăşit684kbTime limit exceeded.0
5Depăşit352kbTime limit exceeded.0
6Depăşit428kbTime limit exceeded.0
7Depăşit436kbTime limit exceeded.0
8Depăşit520kbTime limit exceeded.0
9Depăşit432kbTime limit exceeded.0
10Depăşit436kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?