c++蚂蚁感冒 摘要:解题思路:记录第一只蚂蚁的位置和方向,因为速度都是一样的,所以在(蚂蚁前面&&方向相同的蚂蚁)||(蚂蚁后面&&方向相反的)一定不会被感染   题解列表 2022年05月07日 0 点赞 0 评论 901 浏览 评分:0.0
二级C语言-温度转换(C语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main() { int n; double m; scanf("%d", &n)…… 题解列表 2022年05月07日 0 点赞 0 评论 650 浏览 评分:0.0
字符统计 (Java代码) 摘要:import java.util.Scanner; import java.util.TreeMap; public class Main { public static voi…… 题解列表 2022年05月07日 0 点赞 0 评论 902 浏览 评分:0.0
内部收益率 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int T, CF, sum; // …… 题解列表 2022年05月07日 0 点赞 0 评论 752 浏览 评分:0.0
十->二进制转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string decToBin(int n){ string ans; …… 题解列表 2022年05月07日 0 点赞 0 评论 585 浏览 评分:0.0
二级C语言-分段函数 摘要:解题思路:直接按照题目的意思判断输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double x;double f(double x…… 题解列表 2022年05月07日 0 点赞 0 评论 553 浏览 评分:0.0
Minesweeper遍历 摘要:参考代码:#include<iostream> #include<cstring> using namespace std; int dx[8]={1,0,-1,0,1,1,-1,-1}; i…… 题解列表 2022年05月07日 0 点赞 0 评论 559 浏览 评分:0.0
[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d",&n); if…… 题解列表 2022年05月07日 0 点赞 0 评论 526 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>s; cout<<s.si…… 题解列表 2022年05月07日 0 点赞 0 评论 462 浏览 评分:0.0
二级C语言-温度转换 题解 摘要:解题思路:这题就是转换温度,从-100度到150度。注意事项:每个温度隔着5度!参考代码:#include<bits/stdc++.h>using namespace std;int f;int wd…… 题解列表 2022年05月07日 0 点赞 0 评论 692 浏览 评分:0.0