题解列表
[编程入门]自定义函数之数字后移
摘要:扩充挪到前面的代码先输出,没动的代码先输出,但是内存可能不够参考代码: #include<stdio.h>int a[100000];int main(){ int n,m; scanf(……
1017: [编程入门]完数的判断
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int i, j, n, sum; cin >>……
3031: 分解因数
摘要:解题思路:注意事项:参考代码:#include <iostream>
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#……
数字金字塔,记忆化dfs,点进来吧万一就看懂了呢
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
// 全局变量声明
int r, sss; // r表示三角形的行数,ss……
[编程入门]自定义函数处理素数-题解(Java代码)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……
输出个数、各数、逆序
摘要:解题思路:事项:1、循环数个数 2、采用高到低位3、重新提取数字,然后逆序输出就行了参考代码:#include <stdio.h>int main() { int n,a=0; scanf……
2749: Hello, World!
摘要:解题思路:注意事项:参考代码:#include<iosteam> using namespace std; int main() ……
2749: Hello, World!题解
摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ cout << "Hello world!" << endl; return ……
1779: 你的第一个程序题解
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << Just do IT" << endl; ……