1147: C语言训练-角谷猜想 摘要:参考代码:n = int(input()) while n != 1: n = int(n) if n % 2 == 0: print(f"{n}/2={int…… 题解列表 2024年03月16日 1 点赞 0 评论 495 浏览 评分:0.0
1075: 台球碰撞(绝对牛逼!!!) 摘要:解题思路:注意事项:解析请看这里: https://blog.dotcpp.com/a/63859参考代码:#include <iostream>#include <cmath>#include <…… 题解列表 2024年03月16日 0 点赞 0 评论 441 浏览 评分:8.0
题解 1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<=…… 题解列表 2024年03月16日 0 点赞 0 评论 292 浏览 评分:9.9
标准 A+B for Input-Output Practice (IV) 摘要:解题思路:用数组存放每次结果,再依次输出。注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int i=0; int…… 题解列表 2024年03月16日 0 点赞 0 评论 516 浏览 评分:9.9
史上最笨比做法 摘要:解题思路:为了达到如题排序输出格式,采用类与容器结合方式,将一个数的最高位设置为排序字段,赋值给类的order属性注意事项:参考代码:class ShuSort{public: ShuSort(int…… 题解列表 2024年03月16日 0 点赞 0 评论 290 浏览 评分:9.9
编写题解 3073: 字符串匹配问题(strs)——C++ map set,括号匹配总结 摘要:#### 原题链接 [题目 3073: 字符串匹配问题(strs)](https://www.dotcpp.com/oj/problem3073.html "题目 3073: 字符串匹配问题(str…… 题解列表 2024年03月16日 0 点赞 0 评论 491 浏览 评分:9.9
BFS的一道模板题 摘要:#####这题太水了 ```java import java.util.*; public class L141 { static char num[][]=new char[101][10…… 题解列表 2024年03月16日 0 点赞 0 评论 284 浏览 评分:9.9
for循环输出等腰三角形 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class YBT2998 { public static void main(String[] a…… 题解列表 2024年03月16日 0 点赞 0 评论 426 浏览 评分:0.0
调用Math.pow()幂函数平方 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args)…… 题解列表 2024年03月15日 2 点赞 0 评论 297 浏览 评分:9.9
1074: 数字整除(拿50分就够了) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<cmath>using namespace std;int main(){ …… 题解列表 2024年03月15日 0 点赞 0 评论 418 浏览 评分:9.9