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_36490432_6272.cpp: In function 'int main()':
0_0_36490432_6272.cpp:13:12: error: invalid types 'int[int]' for array subscript
    cin>>a[i];
            ^
0_0_36490432_6272.cpp:14:21: error: invalid types 'int[int]' for array subscript
    maxn=max(maxn,a[i]);
                     ^
0_0_36490432_6272.cpp:16:16: error: invalid types 'int[int]' for array subscript
   for(int i=a[1];i<=m;i++) f[1][i]=(a+b)*i;
                ^
0_0_36490432_6272.cpp:18:17: error: invalid types 'int[int]' for array subscript
    for(int j=a[i];j<=m;j++){
                 ^
0_0_36490432_6272.cpp:19:20: error: invalid types 'int[int]' for array subscript
     for(int k=a[i-1];k<=m;k++){
                    ^
0_0_36490432_6272.cpp:25:11: error: 'ss' was not declared in this scope
   int ans=ss;
           ^


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-09-30 10:54:13, Gzip enabled