0_0_37571066_21173.cpp:8:1: error: stray '\243' in program
const int maxn = 1e6£»
^
0_0_37571066_21173.cpp:8:1: error: stray '\273' in program
0_0_37571066_21173.cpp:9:1: error: expected ',' or ';' before 'int'
int a[maxn], w[maxn], st[maxn];
^
0_0_37571066_21173.cpp: In function 'int main()':
0_0_37571066_21173.cpp:16:26: error: 'a' was not declared in this scope
scanf("%d", &a[i]);
^
0_0_37571066_21173.cpp:17:9: error: 'll' was not declared in this scope
ll ans = 0;
^
0_0_37571066_21173.cpp:19:9: error: 'a' was not declared in this scope
a[n + 1] = top = 0;
^
0_0_37571066_21173.cpp:22:24: error: 'st' was not declared in this scope
if (a[i] > st[top])
^
0_0_37571066_21173.cpp:23:35: error: 'w' was not declared in this scope
st[++top] = a[i], w[top] = 1;
^
0_0_37571066_21173.cpp:29:27: error: 'w' was not declared in this scope
wd += w[top];
^
0_0_37571066_21173.cpp:30:21: error: 'ans' was not declared in this scope
ans = max(ans, 1ll * wd * st[top--]);
^
0_0_37571066_21173.cpp:32:35: error: 'w' was not declared in this scope
st[++top] = a[i], w[top] = wd + 1;
^
0_0_37571066_21173.cpp:35:26: error: 'ans' was not declared in this scope
printf("%lld\n", ans);
^
|