八皇后,来看看吧真的很详细了 摘要:解题思路:特别注意右对角线不能写X-Y哦!n*n的棋盘大小也就是能放n个皇后数组大小要定义30以上哦参考代码:#include"bits/stdc++.h" using namespace std;…… 题解列表 2024年11月15日 2 点赞 0 评论 576 浏览 评分:0.0
无虑,无悔,无题。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ char a; scanf("%c",&a); printf("%d\n",a); return 0;}…… 题解列表 2024年11月15日 0 点赞 0 评论 339 浏览 评分:9.9
无虑,无悔,无题。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ printf("yes\n"); return 0;}…… 题解列表 2024年11月15日 0 点赞 0 评论 163 浏览 评分:0.0
直接打印就完了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ printf(" *\n"); printf(" * *\n"); printf("*****\n"); r…… 题解列表 2024年11月15日 3 点赞 0 评论 645 浏览 评分:10.0
普通解题方法 摘要:解题思路:注意事项:看就行了。参考代码:#include<stdio.h>int main (){ char c; c = getchar(); char d; d = c+32; if('A…… 题解列表 2024年11月15日 0 点赞 0 评论 155 浏览 评分:0.0
普通解题方法 摘要:解题思路:没什么好想的注意事项:注意空格数就行了。参考代码:#include<stdio.h>int main(){char c;scanf ("%c",&c ); printf(" %c \n"…… 题解列表 2024年11月15日 0 点赞 0 评论 752 浏览 评分:0.0
比较简单的代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int gcd(int a,int b); int lcm(int a,int b);int main(){ int m,n;…… 题解列表 2024年11月15日 1 点赞 0 评论 342 浏览 评分:0.0
1019: [编程入门]自由下落的距离计算(简单的解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; double n,m,k=0,num=0; scanf("%lf %lf",&m…… 题解列表 2024年11月15日 0 点赞 0 评论 196 浏览 评分:0.0
1757: 矩阵对角求和 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std; int main(){ int n, sum=0, num=0; int ar…… 题解列表 2024年11月15日 0 点赞 1 评论 226 浏览 评分:0.0
自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void yuany(char a[]){ char b[100]; int i,j=0; for(i=0;i<100…… 题解列表 2024年11月15日 0 点赞 0 评论 222 浏览 评分:0.0