荒野诗歌
荒野诗歌
全部文章
分类
题解(6)
归档
标签
去牛客网
登录
/
注册
荒野诗歌的博客
全部文章
(共6篇)
题解 | #挂科危险#
#include <stdio.h> int main() { int score; while(scanf("%d",&score)!=EOF) { if(score>=10) printf("Danger+...
C
2021-10-24
0
331
题解 | #挂科危险#
#include <stdio.h> int main() { int score; while(scanf("%d",&score)!=EOF) { if(score>=10) printf("Danger+...
C
2021-10-24
0
313
题解 | #X形图案#
#include <stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { for (int i = 0; i < n; i++) { for (int j =0; j<n;...
C
2021-10-23
0
375
题解 | #X形图案#
#include <stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { for (int i = 0; i < n; i++) { for (int j =0; j<n;...
C
2021-10-23
0
364
题解 | #X形图案#
思路:三角形三条边上打‘’,即j=i||j=0||j=n-i-1时打印‘’,否则打空格```cpp #include <stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { for (int i = 0; i ...
C
2021-10-23
0
331
题解 | #X形图案#
#include <stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { for (int i = 0; i < n; i++) { for (int j =0; j<n;...
C
2021-10-23
0
274