Borderou de evaluare (job #1194521)

Utilizator t.g.g.tt.g.g.t t.g.g.t Data 3 iunie 2014 23:56:03
Problema Litere2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:1:19: warning: extra tokens at end of #include directive [enabled by default] #include <cstring>> ^ user.cpp: In function ‘int main()’: user.cpp:33:20: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while (s[i]!=' ' & s[i]!='.') ^ user.cpp:52:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<cuvinte[cuv[1].second].length();++i) s[i]=cuvinte[cuv[1].second][i]; ^ user.cpp:64:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int l=0;l<cuvinte[cuv[i].second].length();++l) s[l+val]=cuvinte[cuv[i].second][l]; ^ user.cpp:75:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int l=0;l<=cuvinte[cuv[i].second].length();++l) s[l]=cuvinte[cuv[i].second][l]; ^ user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("litere2.in","r",stdin); ^ user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("litere2.out","w",stdout); ^ user.cpp:23:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cckcK4Gd.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms6264kbRaspuns gresit!00
232ms8364kbRaspuns gresit!0
3136ms9848kbRaspuns gresit!0
4280ms13428kbRaspuns gresit!0
5160ms10556kbRaspuns gresit!0
6280ms13464kbRaspuns gresit!0
796ms9620kbRaspuns gresit!0
8328ms18952kbRaspuns gresit!0
9328ms18956kbRaspuns gresit!0
10300ms15104kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?