[backend]将testdata/下的测例替换为了赛方测试用例,更新了测试脚本
This commit is contained in:
19
testdata/functional/84_long_array2.sy
vendored
Normal file
19
testdata/functional/84_long_array2.sy
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
int a[4096];
|
||||
|
||||
int f1(int b[])
|
||||
{
|
||||
a[5] = 4000;
|
||||
a[4000] = 3;
|
||||
a[4095] = 7;
|
||||
b[a[4095]] = a[2216] + 9;
|
||||
return a[a[5]];
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
int b[4][1024] = {{}, {1}, {2, 3}, {4, 5, 6}};
|
||||
int c[1024][4] = {{1, 2}, {3, 4}};
|
||||
putint(f1(c[0]));
|
||||
putch(10);
|
||||
return c[2][0];
|
||||
}
|
||||
Reference in New Issue
Block a user