我编植物大战僵尸1-1,前面一直输出不了,怎么办?
#include<bits/stdc++.h>
#include<time.h>
using namespace std;
#define ll long long
#define db double
#define str string
#define endl '\n'
#define PII pair<int,int>
#define ull unsigned long long
#define t int
#define sh short
#define lg long
#define fl float
#define ch char
#define b bool
#define ct const
#define IOS ios::sync_with_stdio(false),cin.tie(0),cout.tie(0)
sh h=1;
str wdss = "豌豆射手";
str vis[2][10];
t x, y;
ll shine = 150;
b victory;
int main() {
IOS;
memset(vis, '*', sizeof vis);
for (int i = 1; i <= 5; i++) {
cout << "第" << i << "次操作,你要种什么?\n";
cout << "1." << wdss << endl;
cin >> x >> y;
shine += 50;
shine -= 100;
vis[x][y] = wdss;
cout << shine;
for (t j = 1; j <= 9; j++) {
cout << vis[1][j];
}
}
return 0;
}