1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年01月19日 0 点赞 0 评论 432 浏览 评分:6.0
分支结构-判断能否被3、5、7整除 摘要:#include #include int main() { int n; scanf("%d",&n); if(n%3==0&&n%5==0&&n%7==0) …… 题解列表 2024年01月22日 0 点赞 1 评论 910 浏览 评分:6.0
动态规划java实现。实际上找的是每一位上所能允许的最长长度,要不断的和前面的作比较 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[n]; …… 题解列表 2024年01月22日 0 点赞 0 评论 536 浏览 评分:6.0
2925: 单词排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; struct u { char str[50]; st…… 题解列表 2024年01月23日 0 点赞 1 评论 406 浏览 评分:6.0
题解 1050: [编程入门]结构体之成绩记录 ##**思路**简单的字符串与整数输入输出,读入一个输出一个即可。##**代码**```cpp#includeusingnamespacestd;chara[10005];charb[10005];intmain(){intn;cin>>n;while(n--){intc, 题解列表 2024年01月30日 0 点赞 0 评论 449 浏览 评分:6.0
1056: 二级C语言-温度转换 按公式来就行**注意事项:要乘1.0!!!**##**代码**```cpp#include#includeusingnamespacestd;intmain(){inta;cin>>a;doubled=(a-32)*5*1.00000/9;printf("%.2lf", 题解列表 2024年01月30日 1 点赞 0 评论 634 浏览 评分:6.0
合并石子题解 摘要:解题思路:注意事项:参考代码:import java.io.*;import java.util.*;public class Main{ static int maxn = 200005,n,…… 题解列表 2024年01月30日 1 点赞 0 评论 797 浏览 评分:6.0
编写题解 2837: 年龄与疾病 摘要:解题思路:注意事项:参考代码: public static void main(String args[]) { Scanner sc=new Scanner (System.in); i…… 题解列表 2024年01月31日 0 点赞 0 评论 548 浏览 评分:6.0
C++来解一下 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<queue> #include<vector> using na…… 题解列表 2024年02月02日 0 点赞 0 评论 726 浏览 评分:6.0
判断是否为两位数 摘要:解题思路:将输入的整数存在列表中 判断列表长度 就可以得出是否为两位数注意事项:参考代码:while True: try: num = input() num_lis…… 题解列表 2024年02月03日 0 点赞 0 评论 693 浏览 评分:6.0