计算两点间的距离-题解(Python代码) 凑字数凑字数凑字数凑字数凑字数```pythonimportmathwhileTrue:x,y,z,w=map(int,input().split())print('%.2f'%math.sqrt((z-x)**2+(w-y)**2))``` 题解列表 2020年04月11日 0 点赞 0 评论 1828 浏览 评分:6.0
统计字符个数-题解(C++代码) ```cpp#include#includeusingnamespacestd;intmain(){chara[11];cin.getline(a,11);intsu=0,zi=0,qi=0;intlen=strlen(a);for(inti=0;i='0'&&a[i]='a'&&a[i]='A'&& 题解列表 2020年04月11日 0 点赞 0 评论 1205 浏览 评分:0.0
Dinner-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ int n; // "bowl", "knife", "fork" ,"ch…… 题解列表 2020年04月11日 0 点赞 0 评论 1007 浏览 评分:0.0
[编程入门]猴子吃桃的问题-题解(C语言代码) 摘要:#include int main() { int a, sum = 1; scanf("%d",&a); a = a - 1; while(a--…… 题解列表 2020年04月11日 0 点赞 0 评论 952 浏览 评分:0.0
[编程入门]还是接着用选择排序算法加上字符串操作函数来实现 ```c#include#include#defineN50#defineM3intmain(void){chars[M][N],s1[N];inti,j,min,flag=0;for(i=0;i 题解列表 2020年04月11日 0 点赞 0 评论 1201 浏览 评分:8.0
蓝桥杯基础练习VIP-Sine之舞-题解(C++代码) by Zfans. ```cpp#includeusingnamespacestd;stringInt_to_String(intn){ostringstreamstream;stream>N;strings=Sn(N);cout 题解列表 2020年04月11日 0 点赞 0 评论 1519 浏览 评分:7.0
IP判断-题解(C语言代码) 摘要:**1、stringstream输入流** 这个想法 是来源于之前写过一道题名叫 排序(将一串由数字5分隔的数字串按升序排列); 而这道题目,相当于输入一串由“.”分隔的数字,判断每个数字是否0<…… 题解列表 2020年04月11日 0 点赞 0 评论 1290 浏览 评分:0.0
Tom数-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ string a; while(cin>>a){ stri…… 题解列表 2020年04月11日 0 点赞 0 评论 934 浏览 评分:0.0
IP判断-题解(C++代码) 摘要:```cpp #include #include using namespace std; bool pan_s(char a){ if(a>='0'&&a3){ …… 题解列表 2020年04月11日 0 点赞 0 评论 1243 浏览 评分:6.0
DNA-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ int a,b,c; cin>>a; while(a--){ …… 题解列表 2020年04月11日 0 点赞 0 评论 1042 浏览 评分:0.0