#2162. C++-编译-size of array 'xxx' has non-integral type 'xxx'

C++-编译-size of array 'xxx' has non-integral type 'xxx'

Background

Description

size of array 'xxx' has non-integral type 'xxx'

数组的大小为错误类型,这是在定义数组的时候,数组的大小用的不是整数

比如:

int a[1.2]={0};
int a["123"]={0};

Format

Input

Output

Samples



Limitation

1s, 1024KiB for each test case.