
- #include
- using namespace std;
-
- int main(){
- int n;
- scanf("%d",&n);
- int cx=n/2,cy=n/2;
- for(int i=0;i
- for(int j=0;j
- if(abs(i-cx) + abs(j-cy) <= n/2) printf("*");
- else printf(" ");
- }
- puts("");
- }
- }
-
相关阅读:
6、mysql高级语句
centos7中mysql5.7.32服务离线升级到5.7.39教程
c++ std::variant用法
Thymeleaf学习(1)—— 表达式和属性
MySQL:Update高并发下变慢的案例及其涉及的特性
FFN -> GLU -> GAU
实施OKR过程中需要注意的7个事项,尤其是第2个!
模拟前端ADC芯片LH001-91
ELMo模型、word2vec、独热编码(one-hot编码)的优缺点进行对比
Linux引入中saltstack介绍与使用
-
原文地址:https://blog.csdn.net/zyang654321/article/details/134062083