Pagini recente » Borderou de evaluare (job #1596810) | Borderou de evaluare (job #2155719) | Borderou de evaluare (job #999562) | Borderou de evaluare (job #1666314) | Borderou de evaluare (job #1217435)
Borderou de evaluare (job #1217435)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (strlen(A[i]+1)<MIN)
^
user.cpp:112:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<T.size();++i)
^
user.cpp:23:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:24:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
user.cpp:26:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:30:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A[i]+1);
^
user.cpp:39:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&M);
^
user.cpp:42:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(B[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:30:17:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:42:13:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccovZu4G.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 26920kb | Incorect | 0 |
2 | 32ms | 26928kb | Incorect | 0 |
3 | 36ms | 26932kb | Incorect | 0 |
4 | 72ms | 26944kb | Incorect | 0 |
5 | Depăşit | 26968kb | Time limit exceeded. | 0 |
6 | Depăşit | 26972kb | Time limit exceeded. | 0 |
7 | Depăşit | 5920kb | Time limit exceeded. | 0 |
8 | Depăşit | 5932kb | Time limit exceeded. | 0 |
9 | Depăşit | 5940kb | Time limit exceeded. | 0 |
10 | Depăşit | 5932kb | Time limit exceeded. | 0 |
Punctaj total | 0 |