python求整数的和与均值 摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))while len(a)<=a[0]: a.extend(map(int,input().spl…… 题解列表 2024年09月05日 0 点赞 0 评论 1179 浏览 评分:5.3
C语言训练-阶乘和数* (C++代码)(直接输出样例hhhh) 解题思路:其实吧,,,这个真的只有样例给的几组数据符合要求,,,所以直接输出就好了,,,虽然我的确码了一个从1-1000000一个一个计算的代码,,,然而事实证明,,,真的只有1214540585。。。也是醉了23333注意事项:注意按照要求的顺序,,1145240585嗯,就这些吧。 题解列表 2017年07月29日 3 点赞 3 评论 1913 浏览 评分:5.4
计算质因子 (C++代码)100以内质数直接打表就好了 摘要:解题思路:100以内质数直接打表就好了然后判断并输出注意事项:数字之间有空格参考代码:#include<stdio.h> int main() { int a[28] = {2, 3,…… 题解列表 2017年07月29日 1 点赞 0 评论 2432 浏览 评分:5.4
简单的a+b (C++语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cout<<a+b…… 题解列表 2017年09月06日 0 点赞 0 评论 1839 浏览 评分:5.4
平方和与立方和 (C++代码) 摘要:解题思路:用两个双向队列存储数据注意事项:参考代码:#include <iostream>#include <deque>#include <algorithm>#include <numeric>#…… 题解列表 2018年01月14日 0 点赞 0 评论 2707 浏览 评分:5.4
求1+2+3+...+n的值 (C++代码) 摘要:解题思路:注意事项:累加超时参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll n…… 题解列表 2018年06月14日 0 点赞 0 评论 3016 浏览 评分:5.4
数组排序 (C++代码)可AC 解题思路:我的解题思路比较简单,就是建立两个数组数组A和数组B,数组B用来保存数组A的值对数组B的值进行快排,这样子能让数组B进行从小到大进行排序,同时也就是对应数组A下标例如数组a[4]={0,3,1,2}b[4]={0,1,2,3};这样子我们对1, 题解列表 2018年08月12日 7 点赞 0 评论 2370 浏览 评分:5.4
贷款计算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ double c,a,b; int n; scanf("%lf%lf%lf",&a,&b,&…… 题解列表 2019年01月08日 0 点赞 0 评论 1712 浏览 评分:5.4
去括号 (C++代码)C11,cout..R用法,笑死我了要 摘要:解题思路: 直接这样输出如何?参考代码:#include<bits/stdc++.h> using namespace std; int main(){ cout<<R"(1+1 1 …… 题解列表 2019年01月10日 1 点赞 0 评论 10345 浏览 评分:5.4