编写题解 3000: 交换值 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<b<<…… 题解列表 2024年06月09日 0 点赞 0 评论 720 浏览 评分:9.9
编写题解 1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2024年06月09日 0 点赞 0 评论 895 浏览 评分:9.9
二级C语言-寻找矩阵最值 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { //因为n>=1&&n<=6,所以把数组定义为a[6][6] int n=0,a…… 题解列表 2024年06月09日 0 点赞 0 评论 181 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a[10]={0},i=0; for(i=0;i<10;i++) scanf("…… 题解列表 2024年06月09日 0 点赞 0 评论 383 浏览 评分:0.0
C语言训练-计算1~N之间所有奇数之和 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void fun(int n) { int i,sum=0; for(i=1;i<=n;i++) if(i%2!=…… 题解列表 2024年06月09日 0 点赞 0 评论 137 浏览 评分:0.0
简单易懂 思路简单 摘要:解题思路:注意事项:参考代码:while True: try: lt=input().split() lt.pop(0) ls=['fork','chopsticks&#…… 题解列表 2024年06月09日 0 点赞 0 评论 161 浏览 评分:0.0
题解 1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; cin…… 题解列表 2024年06月10日 0 点赞 0 评论 125 浏览 评分:0.0
密码破译(包含字母WXYZ) 摘要:解题思路:主要思路ASCII的循环思路,目前我自己还处于新手入门阶段,所以很多原理性的内容,无法做出更多的解释。题解我是参考前边几个大佬的思路,按照我自己的理解写的,如果有不对的地方,欢迎指正。假设数…… 题解列表 2024年06月10日 1 点赞 0 评论 368 浏览 评分:0.0
记忆化搜索(dfs+字典)(dfs+剪枝) 摘要:解题思路: 一层循环线性遍历,vis用于去重,mp用于局部去重注意事项: 目前 dotcpp 官方测评数据存在问题参考代码:错解(目前可通过 dotcpp 所有测试样例)#include <bits/…… 题解列表 2024年06月11日 3 点赞 0 评论 576 浏览 评分:10.0