Pagini recente » Cod sursa (job #1166081) | Cod sursa (job #2770023) | Cod sursa (job #479773) | Cod sursa (job #494287) | Borderou de evaluare (job #1365587)
Borderou de evaluare (job #1365587)
Raport evaluator
Compilare:
user.cpp: In function ‘void prefix()’:
user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=2;i<=strlen(a+1);i++)
^
user.cpp: In function ‘void kmp(int)’:
user.cpp:29:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<=strlen(a+1);i++)
^
user.cpp: In function ‘int main()’:
user.cpp:48:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<=strlen(a1+1);i++)
^
user.cpp:50:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[nrs][++b[nrs][0]]=a1[i];
^
user.cpp:62:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (nr<v[i].size() && v[i][nr]<ult)
^
user.cpp:64:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nr<v[i].size())
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.in","r",stdin);
^
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.out","w",stdout);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s",a+1,a1+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 296kb | OK | 10 | 10 |
3 | 0ms | 316kb | Incorect | 0 | 0 |
4 | 4ms | 332kb | OK | 10 | 10 |
5 | Depăşit | 400kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 380kb | Time limit exceeded. | 0 |
7 | Depăşit | 384kb | Time limit exceeded. | 0 |
8 | Depăşit | 396kb | Time limit exceeded. | 0 |
9 | 8ms | 432kb | Incorect | 0 |
10 | Depăşit | 404kb | Time limit exceeded. | 0 |
Punctaj total | 30 |