-
个人简介
#include<bits/stdc++.h> using namespace std; stack<int> s; int ans,y=0; string a[500]; int main(){ cin>>ans; while(ans){ s.push(ans%10); ans/=10; } while(!s.empty()){ ans=s.top(),s.pop(); if(a[y].size()>=64) y+=8; switch(ans){ case 0: a[y]=a[y]+" *** ",a[y]=a[y]+" "; a[y+1]=a[y+1]+"* **",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+"* * *",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+"** *",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+" *** ",a[y+4]=a[y+4]+" "; break; case 1: a[y]=a[y]+" * ",a[y]=a[y]+" "; a[y+1]=a[y+1]+" ** ",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+" * ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+" * ",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+" *** ",a[y+4]=a[y+4]+" "; break; case 2: a[y]=a[y]+"**** ",a[y]=a[y]+" "; a[y+1]=a[y+1]+" *",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+" *** ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+"* ",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+"*****",a[y+4]=a[y+4]+" "; break; case 3: a[y]=a[y]+"**** ",a[y]=a[y]+" "; a[y+1]=a[y+1]+" *",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+"**** ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+" *",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+"**** ",a[y+4]=a[y+4]+" "; break; case 4: a[y]=a[y]+" * ",a[y]=a[y]+" "; a[y+1]=a[y+1]+" ** ",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+" * * ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+"*****",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+" * ",a[y+4]=a[y+4]+" "; break; case 5: a[y]=a[y]+"*****",a[y]=a[y]+" "; a[y+1]=a[y+1]+"* ",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+"*****",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+" *",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+"*****",a[y+4]=a[y+4]+" "; break; case 6: a[y]=a[y]+" *** ",a[y]=a[y]+" "; a[y+1]=a[y+1]+"* ",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+"**** ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+"* *",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+" *** ",a[y+4]=a[y+4]+" "; break; case 7: a[y]=a[y]+"*****",a[y]=a[y]+" "; a[y+1]=a[y+1]+" *",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+" * ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+" * ",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+" * ",a[y+4]=a[y+4]+" "; break; case 8: a[y]=a[y]+" *** ",a[y]=a[y]+" "; a[y+1]=a[y+1]+"* *",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+" *** ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+"* *",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+" *** ",a[y+4]=a[y+4]+" "; break; case 9: a[y]=a[y]+" *** ",a[y]=a[y]+" "; a[y+1]=a[y+1]+"* *",a[y+1]=a[y+1]+" "; a[y+2]=a[y+2]+" *** ",a[y+2]=a[y+2]+" "; a[y+3]=a[y+3]+" * ",a[y+3]=a[y+3]+" "; a[y+4]=a[y+4]+" * ",a[y+4]=a[y+4]+" "; break; } } for(int i=0;i<=y+4;i++){ cout<<a[i]<<endl; } return 0; }tw202443 llj20130307yyds666father
-
最近活动
- 铁外信息学BC班限时比赛20251126 IOI(严格)
- 2025.11.20铁外GESP四级限时赛 IOI(严格)
- 2025.11.18-铁外信息学BC班限时比赛 IOI
- 2025 铁外-J组模拟训练赛06 OI
- 2025 铁外-J组模拟训练赛05 OI
- 【铁外】2025 CSP-J1初赛模拟测试1 OI
- 2025 CSP-J1初赛模拟测试7 OI
- 2025 CSP-J1初赛模拟测试6 OI
- 2025TYOI暑期集训结营娱乐赛 ACM/ICPC
- 第六届oiclass信息学夏令营Class4作业-多分支结构-if语句 作业
- 第六届oiclass信息学夏令营Class3作业-if语句 作业
- 第六届oiclass信息学夏令营Class2作业-表达式 作业
- 第六届oiclass信息学夏令营Class1作业-程序结构 作业
- 2025.6铁外AB班算法数据结构基础检测 IOI
- 铁外信息学C班6月份作业 作业
- 铁外5月基础班摸底检测 IOI
- 2025-5铁外AB班CSP-J周赛-11 IOI
- 2025-4 铁外AB班CSP-J周赛-10 IOI
- 2025-4 铁外AB班CSP-J周赛-08 IOI
- 2025-4 铁外AB班CSP-J周赛-07 IOI
- 铁外初级组四月份作业 作业
- 2025-3 铁外AB班CSP-J周赛-06 IOI
- 第1课 程序结构 课程
- 2025-3 铁外AB班CSP-J周赛-04 IOI
- 第0课 入门准备 课程
- 2025铁外AB班CSP-J周赛-02 IOI
- 铁外初级组二、三月份 作业
- 2025铁外AB班CSP-J周赛-01 IOI
- 铁外信息学作业-AB班(25年3月份-线性动态规划基础) 作业
- 铁外信息学作业-AB班(25年2月-二分搜索) 作业
- 铁外信息学作业-AB班(25年2月份-广度优先搜索) 作业
- 【oiClass公益赛】2025CSP-J模拟赛#02 OI
- 铁外信息学作业-CD班(25年1月-循环结构、数组) 作业
- 铁外信息学作业-AB班(25年1月-深搜算法) 作业
- 铁外AB-12月第14周-排序算法 作业
- 铁外AB-12月第14周-递归算法1 作业
- 铁外初级组十二月份 作业
- 2024铁外AB第13周-数组专题测试 IOI
- 2024-11月铁外AB第12周-基础检测周测 IOI
- 铁外初级组十一月份(一) 作业
- 2024oiClass 铁一RM周计划赛#01 IOI
- 2024铁外AB班周赛-01 IOI
- 2024oiClass入门组周赛计划#15 IOI
- 2024oiClass入门组周赛计划#12 IOI
- 2024oiClass入门组周赛计划#11 IOI
- 2024oiClass入门组周赛计划#08 IOI
-
Stat
-
Rating