LOUIS_LIU
LOUIS_LIU
全部文章
分类
题解(12)
归档
标签
去牛客网
登录
/
注册
LOUIS_LIU的博客
全部文章
(共4篇)
题解 | #带空格直角三角形图案#
#include using namespace std; void tim(long long time,int hour,int min){ hour+=time/60; min+=time%60; if(min>=60){ hour+=min/60; min=min%60; } if(h...
C
2021-11-11
0
357
题解 | #带空格直角三角形图案#
the str in line 1 almost drives me crazy.fortunately,adding 'else'in functin has solve the problem #include<stdio.h> int main(){ int x; while(sc...
C
2021-11-02
2
444
题解 | #正方形图案#
#include<stdio.h> int main(){ int x; while(scanf("%d",&x)!=EOF){ for(int i=1;i<=x;i++){ for(int j=1;j<=x;j++){ ...
C
2021-11-02
5
630
题解 | #线段图案#
#include<stdio.h> int main(){ int a; while(scanf("%d",&a)!=EOF){ for(int i=0;i<a;i++) printf("*"); printf...
C
2021-11-02
0
300