Pagini recente » Borderou de evaluare (job #2299156) | Borderou de evaluare (job #3180719) | Borderou de evaluare (job #928150) | Borderou de evaluare (job #1418889) | Borderou de evaluare (job #1819051)
Borderou de evaluare (job #1819051)
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 | 460kb | Incorect | 0 |
2 | 0ms | 460kb | Incorect | 0 |
3 | 0ms | 464kb | Incorect | 0 |
4 | 0ms | 460kb | Incorect | 0 |
5 | 8ms | 480kb | Incorect | 0 |
6 | 0ms | 472kb | Incorect | 0 |
7 | 0ms | 464kb | Incorect | 0 |
8 | 0ms | 460kb | Incorect | 0 |
9 | 0ms | 464kb | Incorect | 0 |
10 | 4ms | 604kb | Incorect | 0 |
Punctaj total | 0 |