记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:62:5: error: variable-sized object may not be initialized
     int height[n],reverseheight[n],A[n]={0},B[n]={0};
     ^~~
/in/foo.c:62:42: warning: excess elements in array initializer
     int height[n],reverseheight[n],A[n]={0},B[n]={0};
                                          ^
/in/foo.c:62:42: note: (near initialization for 'A')
/in/foo.c:62:5: error: variable-sized object may not be initialized
     int height[n],reverseheight[n],A[n]={0},B[n]={0};
     ^~~
/in/foo.c:62:51: warning: excess elements in array initializer
     int height[n],reverseheight[n],A[n]={0},B[n]={0};
                                                   ^
/in/foo.c:62:51: note: (near initialization for 'B')

信息

递交者
类型
递交
题目
P1510 Problem 2C. 云骑军队列
比赛
2023秋 悬赏令第二周
语言
C
递交时间
2023-10-19 21:41:57
评测时间
2023-10-19 21:41:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes