超简单解法(python) 摘要:解题思路:空格一行用print(" ")解决注意事项:参考代码:while True: try: a,b=map(int,input().split()) print…… 题解列表 2021年08月20日 0 点赞 0 评论 600 浏览 评分:9.9
python解法(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) # 输入数for i in range(n): sum = 0 # 定义及初始化 list = input().sp…… 题解列表 2021年08月20日 0 点赞 0 评论 729 浏览 评分:9.9
1090: A+B for Input-Output Practice (VI) 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a; int N; while(cin>>N&&N!=NULL) …… 题解列表 2021年08月20日 0 点赞 1 评论 522 浏览 评分:9.9
[编程入门]字符串正反连接-题解(C语言代码) 摘要:解题思路:str1[]输入,str2[]倒叙,str3[]链接注意事项:puts输出str3[]结尾需加'\0'参考代码:#include<stdio.h>#include<strin…… 题解列表 2021年08月20日 0 点赞 0 评论 983 浏览 评分:9.9
斐波那契数列求和 摘要:解题思路:1.首先宏定义N作为数组长度,所输入的n需要小于等于N(N的值可以根据数据大小调整)。2.数组前两项自行赋值。3.利用for循环求斐波那契数列各项的值( a[i]=a[i-1]+a[i-2]…… 题解列表 2021年08月21日 0 点赞 0 评论 755 浏览 评分:9.9
python快速解决该问题(Python) 摘要:解题思路:整除100得到前两位数;100取余得到后两位数,再进行循环。注意事项:参考代码:n=1000while n<10000: a=n//100 b=n%100 if n==(a…… 题解列表 2021年08月21日 0 点赞 0 评论 550 浏览 评分:9.9
1040: [编程入门]实数的打印 AC代码 摘要:```cpp #include using namespace std; int main() { cout n; cout …… 题解列表 2021年08月21日 0 点赞 0 评论 1128 浏览 评分:9.9
STL函数翻转 摘要:解题思路:C++STL库函数翻转注意事项:参考代码:```#include<bits/stdc++.h>using namespace std;int main(){ vector<int> a…… 题解列表 2021年08月21日 0 点赞 0 评论 517 浏览 评分:9.9
编写题解 1128: C语言训练-排序问题<1> 摘要:解题思路:注意事项:参考代码:m=list(map(int,input().split()))for i in range(len(m)): for j in range(i+1,len(m))…… 题解列表 2021年08月22日 0 点赞 1 评论 779 浏览 评分:9.9
编辑距离-C++代码 摘要: #include #include using namespace std; int main() { string a,b; …… 题解列表 2021年08月22日 0 点赞 0 评论 634 浏览 评分:9.9