Py2791-计算邮资 摘要:参考代码:importmathn,j=input().split()n=int(n)num=…… 题解列表 2025年11月06日 0 点赞 0 评论 67 浏览 评分:0.0
简单简洁易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int prime(int a) { int i,m=0; for(i=2;i<a;i++){ if(a%i==0)…… 题解列表 2025年11月06日 0 点赞 0 评论 81 浏览 评分:0.0
Py2787-有一门课不及格的学生-步骤清晰 摘要:解题思路:先求出小于60分的数量,数量为1输出1,否则0参考代码:arr=list(map(int,input().split()))num=&nb…… 题解列表 2025年11月06日 0 点赞 0 评论 55 浏览 评分:0.0
插入数组题比较插入数大小就行了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a[10]; …… 题解列表 2025年11月06日 0 点赞 0 评论 58 浏览 评分:0.0
c++ 400ms以内 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; for (i…… 题解列表 2025年11月06日 0 点赞 0 评论 25 浏览 评分:0.0
二维数组直接解了 摘要:解题思路:二维数组,for循环嵌套注意事项:不要把值输错了,只能在for循环内进行,其实就是颠倒行 和 列参考代码:#include<iostream>using namespace st…… 题解列表 2025年11月06日 0 点赞 0 评论 28 浏览 评分:0.0
邪修xxxxxxxxxxxxxxxx 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb…… 题解列表 2025年11月06日 0 点赞 0 评论 30 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:解题思路:一种思路是向后移动,把最后一个数字备份,移动完num_number - 1次后把最后一个数赋值给第一个总共移动move_number次注意 if(move_numb…… 题解列表 2025年11月06日 1 点赞 0 评论 34 浏览 评分:10.0