编写题解 1954: 话费计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; double sum = 0; scanf("%d",&a)…… 题解列表 2023年01月03日 0 点赞 0 评论 478 浏览 评分:2.0
与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,i,b=0; int a[100]; scanf("%d%d",&…… 题解列表 2023年01月13日 0 点赞 0 评论 475 浏览 评分:2.0
2750: 字符菱形 摘要:解题思路: 直接输出注意事项:参考代码: #include<iostream>using namespace std;int main(){ char c; …… 题解列表 2023年01月24日 0 点赞 0 评论 846 浏览 评分:2.0
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); printf("%d",a); ret…… 题解列表 2023年01月31日 0 点赞 0 评论 534 浏览 评分:2.0
三个整数中找最大数 摘要:解题思路: 新手,适合初学者。思路很简单就三个中任挑一个比其他两个大即可 认为要懂||(或) &&(都、和) ?(非) 的知识注意事项:if语句判断时只有一条语句时可不用{ },我是为方便记忆, …… 题解列表 2023年01月31日 0 点赞 1 评论 370 浏览 评分:2.0
数字的处理与判断 ```pythonwhileTrue:try:a=list(map(int,input()))b=a[-1:-7:-1]print(len(a))[print(a[i],end="")foriinrange(0,len(a))ifi!=len(a)-1]print(a[len(a)-1])[print 题解列表 2023年01月31日 0 点赞 0 评论 653 浏览 评分:2.0
1043: [编程入门]三个数字的排序 摘要:解题思路:哔哔哔注意事项:bibibi参考代码:#include<iostream>using namespace std;int main(){ int a,b,c,x1,x2,x3,x4; …… 题解列表 2023年02月05日 0 点赞 0 评论 496 浏览 评分:2.0
2772: 苹果和虫子(Python) 摘要:解题思路:注意事项:参考代码:from decimal import * Pi=3.14159 tmp = input() n,x,y = tmp.split() n = int(n) x …… 题解列表 2023年02月10日 0 点赞 0 评论 758 浏览 评分:2.0
2843: 计算2的N次方 高精度+快速幂 摘要:解题思路: 高精度模拟大数乘法,快速幂算法减小复杂度注意事项: 建议使用结构体,主函数更清晰参考代码:#include <iostream> // #include <sstream> // #i…… 题解列表 2023年02月13日 0 点赞 0 评论 748 浏览 评分:2.0
2844: 大整数的因子 (试了下重载运算符) 摘要:解题思路: 高精度,模拟大整数的输入、输出、取模。这里使用重载运算符,单纯为了好玩注意事项:注意没有合适的k的时候还要输出"none"参考代码:#include <iostream> // #inc…… 题解列表 2023年02月14日 0 点赞 0 评论 675 浏览 评分:2.0