编写题解 1141: C语言训练-百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>int main() {printf("cock=0,hen=25,chicken=75\ncock=4,hen=18,c…… 题解列表 2024年11月24日 2 点赞 1 评论 284 浏览 评分:9.9
1779: 你的第一个程序题解 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << Just do IT" << endl; …… 题解列表 2024年11月24日 1 点赞 0 评论 363 浏览 评分:10.0
2749: Hello, World!题解 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ cout << "Hello world!" << endl; return …… 题解列表 2024年11月24日 2 点赞 0 评论 759 浏览 评分:10.0
2749: Hello, World! 摘要:解题思路:注意事项:参考代码:#include<iosteam> using namespace std; int main() …… 题解列表 2024年11月24日 2 点赞 0 评论 671 浏览 评分:9.9
输出个数、各数、逆序 摘要:解题思路:事项:1、循环数个数 2、采用高到低位3、重新提取数字,然后逆序输出就行了参考代码:#include <stdio.h>int main() { int n,a=0; scanf…… 题解列表 2024年11月24日 1 点赞 0 评论 948 浏览 评分:0.0
[编程入门]自定义函数处理素数-题解(Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年11月24日 0 点赞 0 评论 220 浏览 评分:9.9
数字金字塔,记忆化dfs,点进来吧万一就看懂了呢 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int r, sss; // r表示三角形的行数,ss…… 题解列表 2024年11月23日 0 点赞 0 评论 214 浏览 评分:0.0
3031: 分解因数 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdlib.h> #include <stdbool.h> #include <stdio.h> #…… 题解列表 2024年11月23日 0 点赞 0 评论 686 浏览 评分:9.9
1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int i, j, n, sum; cin >>…… 题解列表 2024年11月23日 0 点赞 0 评论 273 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:扩充挪到前面的代码先输出,没动的代码先输出,但是内存可能不够参考代码: #include<stdio.h>int a[100000];int main(){ int n,m; scanf(…… 题解列表 2024年11月23日 1 点赞 0 评论 279 浏览 评分:0.0