文章

21

粉丝

0

获赞

19

访问

4.7k

头像
点阵数字显示 题解:
P5289 四川大学2024年机试题
发布于2026年3月20日 16:10
阅读数 171

#include<bits/stdc++.h>
using namespace std;

// 数字
vector<string> s0 = {"*****", "*   *", "*   *", "*   *", "*   *", "*   *", "*****"};
vector<string> s1 = {"    *", "    *", "    *", "    *", "    *", "    *", "    *"};
vector<string> s2 = {"*****", "    *", "    *", "*****", "*    ", "*    ", "*****"};
vector<string> s3 = {"*****", "    *", "    *", "*****", "    *", "    *", "*****"};
vector<string> s4 = {"*   *", "*   *", "*   *", "*****", "    *", "    *", "    *"};
vector<string> s5 = {"*****", "*    ", "*    ", "*****", "    *", "    *", "*****"};
vector<string> s6 = {"*****", "*    ", "*    ", "*****", "*   *", "*   *", "*****"};
vector<string> s7 = {"*****", "    *", "    *", "    *", "    *", "    *", "    *"};
vector<string> s8 = {"*****", "*   *", "*   *", "*****", "*   *", "*   *", "*****"};
vector<string> s9 = {"*****", "*   *", "*   *", "*****", "    *", "    *", "*****"};
vector<str...
登录查看完整内容


登录后发布评论

暂无评论,来抢沙发