Pagini recente » Borderou de evaluare (job #398027) | Borderou de evaluare (job #1170254) | Borderou de evaluare (job #1754567) | Borderou de evaluare (job #2629665) | Borderou de evaluare (job #1819052)
Borderou de evaluare (job #1819052)
Raport evaluator
Compilare:
user.cpp: In function ‘bool value(const int&, node*)’:
user.cpp:78:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s->t2) return !v[st[t][s->t1]];
^
user.cpp:79:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else return v[st[t][s->t1]];
^
user.cpp:77:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (s->t1 >= 0)
^
user.cpp: In function ‘bool backtrack(const char&)’:
user.cpp:94:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dd1[ch] != tt) return backtrack(ch+1);
^
user.cpp:98:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[ch] = i;
^
user.cpp: In function ‘void query()’:
user.cpp:108:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dd1[st[1][i]] = tt;
^
user.cpp:110:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dd2[st[2][i]] = tt;
^
user.cpp: In function ‘int main()’:
user.cpp:127:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(task".in","r",stdin);
^
user.cpp:128:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(task".out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 460kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 8ms | 488kb | OK | 10 |
6 | 0ms | 472kb | OK | 10 |
7 | 0ms | 464kb | OK | 10 |
8 | 0ms | 452kb | OK | 10 |
9 | 0ms | 464kb | OK | 10 |
10 | 4ms | 600kb | OK | 10 |
Punctaj total | 100 |