改下1163题代码中的数组中的n即可AC。 代码如下: #include <iostream> using namespace std; int a[350][351]; int main() { int i,j,n; cin >> n; for(i=0;i<n;i++) for(j=0;j<=i;j++) cin >> a[i][j]; for
Description The cows don’t use actual bowling balls when they go bowling. They each take a number (in the range 0…99), though, and line up in a standard bowling-pin-like triangle like this: