编写题解 1088: A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int a; while(true){…… 题解列表 2022年03月19日 0 点赞 0 评论 333 浏览 评分:0.0
编写题解 1089: A+B for Input-Output Practice (V) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int a; int m; ci…… 题解列表 2022年03月19日 0 点赞 0 评论 366 浏览 评分:0.0
编写题解 1090: A+B for Input-Output Practice (VI) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int a;while(cin>>n){ …… 题解列表 2022年03月19日 0 点赞 0 评论 303 浏览 评分:0.0
编写题解 1091: A+B for Input-Output Practice (VII) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ …… 题解列表 2022年03月19日 0 点赞 0 评论 315 浏览 评分:0.0
蓝桥杯2019年第十届国赛真题-最长子序列-pyhon写法 摘要: S = input() T = input() i = 0 j = 0 ans = [] #用于存储子序列 while i…… 题解列表 2022年03月19日 0 点赞 0 评论 434 浏览 评分:0.0
编写题解 1092: A+B for Input-Output Practice 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m; cin>>m; while(m--){…… 题解列表 2022年03月19日 0 点赞 0 评论 311 浏览 评分:0.0
编写题解 1119: C语言训练-"水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int back(int a){ int b,c,d; b = a%10; …… 题解列表 2022年03月19日 0 点赞 0 评论 368 浏览 评分:0.0
虽然复杂一点点 但是也很好理解 摘要:解题思路:将输入换成列表 由于题目中说明 只有一个缺失 一个重复 那么只要列表中该数据的数量为2那就是重复的,再用for语句遍历关于缺失的 应该注意用数列 从最小的开始到最大的 再令一个数从最小的开始…… 题解列表 2022年03月19日 0 点赞 0 评论 383 浏览 评分:0.0
C语言训练-自守数问题 摘要:注意用 long long int ,不如数字太大答案输出不全1、一开始的做法,从个位到十位到百位一位一位求出各个数,然后比较是否相等#include int main() { long lon…… 题解列表 2022年03月19日 0 点赞 0 评论 689 浏览 评分:9.9
蛇形矩阵的解题方法 摘要:解题思路:注意事项:参考代码:n = int(input()) # 一共 n 行x = 1 # 表示每一行的第一个数p = 2for i in range(1, n+1) : m = n …… 题解列表 2022年03月19日 0 点赞 0 评论 278 浏览 评分:0.0