Pagini recente » Borderou de evaluare (job #1448475) | Borderou de evaluare (job #2343058) | Borderou de evaluare (job #2106069) | Borderou de evaluare (job #21954) | Borderou de evaluare (job #1870868)
Borderou de evaluare (job #1870868)
Raport evaluator
Compilare:
user.cpp: In function ‘void findd(char*, int)’:
user.cpp:34:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lenn != strlen(c +1 ))
^
user.cpp: In function ‘void get(int&)’:
user.cpp:50:32: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(chr,NULL,sizeof(chr));
^
user.cpp: In function ‘int compara(int, int)’:
user.cpp:86:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i<=min(strlen(Cuv[p1]+ 1), strlen(Cuv[p2] + 1)); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:103:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.in","r",stdin);
^
user.cpp:104:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.out","w",stdout);
^
user.cpp:106:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccRBN0wV.o: In function `main':
user.cpp:(.text.startup+0x5f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK! | 10 |
2 | 0ms | 424kb | OK! | 10 |
3 | 0ms | 420kb | OK! | 10 |
4 | 0ms | 428kb | OK! | 10 |
5 | 0ms | 424kb | OK! | 10 |
6 | 0ms | 424kb | OK! | 10 |
7 | 0ms | 424kb | OK! | 10 |
8 | 0ms | 424kb | OK! | 10 |
9 | 0ms | 424kb | OK! | 10 |
10 | 0ms | 424kb | OK! | 10 |
Punctaj total | 100 |