Borderou de evaluare (job #1194515)

Utilizator t.g.g.tt.g.g.t t.g.g.t Data 3 iunie 2014 23:44:09
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:53: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/cc8KG7gp.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
18ms6124kbRaspuns gresit!00
232ms8232kbRaspuns gresit!0
3136ms9704kbRaspuns gresit!0
4276ms13284kbRaspuns gresit!0
5160ms10412kbRaspuns gresit!0
6280ms13324kbRaspuns gresit!0
796ms9476kbRaspuns gresit!0
8320ms18804kbRaspuns gresit!0
9324ms18812kbRaspuns gresit!0
10296ms14960kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?