Borderou de evaluare (job #1761289)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 21 septembrie 2016 23:54:28
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
1Depăşit1252kbTime limit exceeded.0
2Depăşit1216kbTime limit exceeded.0
3Depăşit1288kbTime limit exceeded.0
4Depăşit1592kbTime limit exceeded.0
5Depăşit1340kbTime limit exceeded.0
6Depăşit1376kbTime limit exceeded.0
7Depăşit1400kbTime limit exceeded.0
8Depăşit1840kbTime limit exceeded.0
9Depăşit1884kbTime limit exceeded.0
10Depăşit1796kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?