2825: 计算多项式的值 摘要:```cpp #include #include using namespace std; int n; double x,xn=1,sum=1; int main() { c…… 题解列表 2023年02月24日 0 点赞 0 评论 547 浏览 评分:9.9
2799: 奥运奖牌计数 摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[1000…… 题解列表 2023年02月24日 0 点赞 0 评论 409 浏览 评分:7.0
2544: N以内累加求和 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年02月24日 0 点赞 0 评论 443 浏览 评分:9.9
3128: 连接格点(grid) 摘要:```cpp #include using namespace std; const int N=1e6+10; int n,m,p[N]; int findth(int x) { …… 题解列表 2023年02月24日 0 点赞 0 评论 475 浏览 评分:9.9
蓝桥杯算法提高VIP-乘法运算 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().strip().split()) g=s=yh=er=jg=0 g=n%10 s=n//10 yh=m*g er=s*m…… 题解列表 2023年02月24日 0 点赞 0 评论 347 浏览 评分:0.0
题解 3007: 收费 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n = 0; double feiyong = 0; scanf("%lf\n", &n); if…… 题解列表 2023年02月24日 0 点赞 0 评论 358 浏览 评分:9.9
用简单素数筛选法求N以内的素数。 摘要:n = int(input()) #输入n 值for i in range(2,n+1): #循环 1 ——n for j in range(2,i): #循环 2 —— i …… 题解列表 2023年02月24日 0 点赞 0 评论 295 浏览 评分:0.0
2861: 验证子串(python) 摘要:解题思路:注意事项:参考代码:a = input().strip() # 注意把前导空格去掉 b = input().strip() if a in b: print("%s is s…… 题解列表 2023年02月24日 0 点赞 0 评论 446 浏览 评分:9.9
2858: 整理药名(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) while True: try: s = input() s1 = "" for i in s: …… 题解列表 2023年02月24日 0 点赞 0 评论 456 浏览 评分:9.9