Pagini recente » Borderou de evaluare (job #1144105) | Borderou de evaluare (job #1396428) | Borderou de evaluare (job #703712) | Borderou de evaluare (job #506024) | Borderou de evaluare (job #1761289)
Borderou de evaluare (job #1761289)
Raport evaluator
Compilare:
user.cpp: In function ‘void put_hash(int)’:
user.cpp:31:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = a * 307 + hs1[pat[i]];
^
user.cpp:32:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = b * 317 + hs2[pat[i]];
^
user.cpp: In function ‘void count_hash()’:
user.cpp:59:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = a * 307 + hs1[str[i]];
^
user.cpp:60:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = b * 317 + hs2[str[i]];
^
user.cpp:65:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = a * 307 - pwa * hs1[str[i-l]] + hs1[str[i]];
^
user.cpp:65:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = a * 307 - pwa * hs1[str[i-l]] + hs1[str[i]];
^
user.cpp:66:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = b * 317 - pwb * hs2[str[i-l]] + hs2[str[i]];
^
user.cpp:66:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = b * 317 - pwb * hs2[str[i-l]] + hs2[str[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:73:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:74:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:84:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:86:35: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(str+s, 1, 64, stdin);
^
user.cpp:87:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" ");
^
user.cpp:92:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:94:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ", pat);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1252kb | Time limit exceeded. | 0 |
2 | Depăşit | 1216kb | Time limit exceeded. | 0 |
3 | Depăşit | 1288kb | Time limit exceeded. | 0 |
4 | Depăşit | 1592kb | Time limit exceeded. | 0 |
5 | Depăşit | 1340kb | Time limit exceeded. | 0 |
6 | Depăşit | 1376kb | Time limit exceeded. | 0 |
7 | Depăşit | 1400kb | Time limit exceeded. | 0 |
8 | Depăşit | 1840kb | Time limit exceeded. | 0 |
9 | Depăşit | 1884kb | Time limit exceeded. | 0 |
10 | Depăşit | 1796kb | Time limit exceeded. | 0 |
Punctaj total | 0 |