Pagini recente » Borderou de evaluare (job #308711) | Borderou de evaluare (job #1794172)
Borderou de evaluare (job #1794172)
Raport evaluator
Compilare:
user.cpp: In function ‘int strcmpp(char*, char*)’:
user.cpp:61:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i<=min(strlen(s1+1),strlen(s2+1)); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:69:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dir.in","r",stdin);
^
user.cpp:70:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dir.out","w",stdout);
^
user.cpp:71:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir + 1);
^
/tmp/cc7fmLpc.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 0ms | 480kb | Incorect | 0 |
5 | 0ms | 468kb | Incorect | 0 |
6 | 0ms | 504kb | Incorect | 0 |
7 | 0ms | 536kb | Incorect | 0 |
8 | 0ms | 512kb | Incorect | 0 |
9 | 0ms | 512kb | Incorect | 0 |
10 | 0ms | 452kb | OK | 10 |
Punctaj total | 40 |