题解列表
1144一行解(Python)
摘要:解题思路:掌握lambda写法注意事项:注意结构的顺序,不建议解题这样书写参考代码:print((' '.join(n for n in list(map(lambda x : &#……
C语言训练-排序问题<1>直接sort
摘要:解题思路:直接使用sort。注意事项:1.使用sort函数,需要头文件#include<algorithm>; 2.sort函数能直接实现数组元素从小到大排序; ……
(c语言)详细解读,算法简单易懂
摘要:解题思路: 等于后面用%s数组接收,那么数组第0个可以用来判断是不是?如果不是就继续往下判断正确如果不是’?‘怎么变成整型?,用一个循环遍历数组,直到’\0‘结束,可以判断有几位……
通过坐标转换计算两点之间的距离
摘要:解题思路:通过坐标转换进行求解注意事项:参考代码:import math
ver = list(map(int,input().split()))
def x_y_transform(ver):#……
2754: 其他基本数据类型存储空间大小 题解
摘要:解题思路:遵照题意即可参考代码:#include<bits/stdc++.h>using namespace std;int main(){ bool a; char b; cout……
麻瓜方法 教你如何求e(正常人思维=_=||)
摘要:解题思路: 根据题目一步一步写就可以了,下面请欣赏我的高质量答案=_=||注意事项: 像我这样写就要注意初始o值的变化参考代码:#include<stdio.h>int m……
3007: “敏感词汇?”(c++代码)
摘要:```cpp
#include
#include
using namespace std;
int main()
{
double m;
cin>>m;
cou……
3019: 约瑟夫问题
摘要:```cpp
#include
using namespace std;
int main()
{
int n,m,i,j=1,count=0,a[10001],b[10001];
……