文章
25
粉丝
137
获赞
7
访问
130.3k
// 0 1 2 3 4 5 6 7 8 9
#include<iostream>
#include<vector>
using namespace std;
int main()
{
string str;
//先形成8字型
int print[5][3];
vector<vector<int> > vec;
vector<int> temp;
cin >> str;
for (int i = 0; i < str.size(); ++i) {
for (int i = 0; i <= 4; ++i)
for (int j = 0; j <= 2; ++j)
print[i][j] = 1;
print[1][1] = 0;
print[3][1] = 0;
int num = str[i] - '0';
switch (num) {
case 0:
&nb...
登录后发布评论
暂无评论,来抢沙发