F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 22:04:17, Gzip enabled