Pagini recente » Borderou de evaluare (job #2549538) | Borderou de evaluare (job #667787) | Borderou de evaluare (job #1548460) | Borderou de evaluare (job #2686453) | Borderou de evaluare (job #1194515)
Borderou de evaluare (job #1194515)
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 |
1 | 8ms | 6124kb | Raspuns gresit! | 0 | 0 |
2 | 32ms | 8232kb | Raspuns gresit! | 0 |
3 | 136ms | 9704kb | Raspuns gresit! | 0 |
4 | 276ms | 13284kb | Raspuns gresit! | 0 |
5 | 160ms | 10412kb | Raspuns gresit! | 0 |
6 | 280ms | 13324kb | Raspuns gresit! | 0 |
7 | 96ms | 9476kb | Raspuns gresit! | 0 |
8 | 320ms | 18804kb | Raspuns gresit! | 0 |
9 | 324ms | 18812kb | Raspuns gresit! | 0 |
10 | 296ms | 14960kb | Raspuns gresit! | 0 |
Punctaj total | 0 |