C语言 -- 90%利用的是数学思想 (分解与转化) 摘要:解题思路: 两个坐标都以 0, 2两个方向进行转化(可以任意选择一组方向), 每一个坐标会涉及到两次转化(因为由题意可得每个坐标是有两个中间过程的, 先向一个方向走,再向顺时针120方向走), 对于一…… 题解列表 2022年05月01日 0 点赞 0 评论 1031 浏览 评分:9.0
通过for循环来求解 摘要:解题思路:注意事项:参考代码:list1=list(map(int,input().split()))list2=list(map(int,input().split()))list3=[]for i…… 题解列表 2022年05月01日 0 点赞 0 评论 530 浏览 评分:0.0
艰难的艰难 摘要:解题思路:注意事项:m*n的积等于最大公约数和最小公倍数的积参考代码:int jn=0,m,n,bug; scanf("%d%d",&m,&n); bug=m*n; while(n>0) { …… 题解列表 2022年05月01日 0 点赞 0 评论 357 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:str=input() for i in str: print(chr(ord(i)+4),end='')或者直接print("Glmre")…… 题解列表 2022年05月01日 0 点赞 0 评论 455 浏览 评分:0.0
用最简单的C语言编写自定义函数之数字后移 摘要:解题思路:只需考虑fun函数里往后移位问题注意事项:参考代码:#include<stdio.h>void fun(int n,int a[],int m);int main(){ int a[…… 题解列表 2022年05月01日 0 点赞 0 评论 347 浏览 评分:9.9
艰难的艰难 摘要:解题思路:注意事项:参考代码:int a[20],b=0; double bug=0; for(int i=0;i<20;i++) { scanf("%d",&a[i]); if(a[i…… 题解列表 2022年05月01日 0 点赞 0 评论 350 浏览 评分:0.0
c++统计子矩阵 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[100][100]; int n, m…… 题解列表 2022年05月01日 1 点赞 1 评论 1615 浏览 评分:9.0
编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:print('**************************\nHello World!\n**************************\n'…… 题解列表 2022年05月01日 0 点赞 0 评论 398 浏览 评分:0.0
[编程入门]自由下落的距离计算 摘要:解题思路:每次下落是前面的1/2,所有用循环可以直接解决注意事项:1.它的输出是要取两位小数,所以要用浮点型的数据 2.在输出的时候要注意其要求的是,最后一次落地时将要返弹的…… 题解列表 2022年05月01日 0 点赞 0 评论 378 浏览 评分:9.9
C++ 就是输入两行测试用例! 摘要:``` #include #include #include #include using namespace std; const int Inf = 1e4; int M,N; i…… 题解列表 2022年05月01日 0 点赞 0 评论 452 浏览 评分:0.0