1026: [编程入门]数字逆序输出 摘要:```cpp #include using namespace std; int main() { int a[11]; for (int i = 1;i > a[i];…… 题解列表 2022年06月30日 0 点赞 0 评论 556 浏览 评分:9.9
信息学奥赛一本通T1323-活动选择-题解(各语言代码) 摘要:**python** ```python from functools import reduce print(reduce(lambda x,y:x if y[1]new SimpleEntr…… 题解列表 2022年06月30日 0 点赞 0 评论 669 浏览 评分:8.0
角谷猜想(c语言) 摘要:解题思路:判断奇偶,再从循环里判断输出注意事项:不止要用printf输出表达式,还要实质上进行n的运算参考代码:#include<stdio.h>int main(){ int n; scanf(…… 题解列表 2022年06月30日 0 点赞 0 评论 739 浏览 评分:9.9
信息学奥赛一本通T1239-统计数字-题解(各语言代码) 摘要:**python** ```python from collections import Counter for i in sorted(Counter(int(input()) for _ i…… 题解列表 2022年06月30日 0 点赞 0 评论 553 浏览 评分:8.0
信息学奥赛一本通T1245-不重复地输出数-题解(各语言代码) 摘要:**python** ```python input() print(*sorted(set(map(int,input().split())))) ``` **java** ```jav…… 题解列表 2022年07月01日 0 点赞 0 评论 656 浏览 评分:2.0
二次方程求解 摘要:解题思路:注意事项:参考代码:import matha,b,c=map(eval,input().split())dt=b*b-4*a*cif dt>=0: x1=((-1)*b+math.sq…… 题解列表 2022年07月01日 0 点赞 0 评论 255 浏览 评分:0.0
二级C语言-计负均正 摘要:```python a = list(map(int,input().split())) while len(a)0): sum +=int(a[i]) j+=…… 题解列表 2022年07月01日 0 点赞 0 评论 360 浏览 评分:0.0
信息学奥赛一本通T1479-Keywords Search-题解(各语言代码) 摘要:**python** ```python for _ in range(int(input())): l=[input() for _ in range(int(input()))] s=…… 题解列表 2022年07月01日 0 点赞 0 评论 376 浏览 评分:0.0
叙利亚战损版,凑合着看吧 C语言详解 摘要:解题思路:利用多重三目运算符求最大值注意事项:先用函数输出再用宏定义表达式,输出时可以不设为浮点数,%d.000\n%d.000会比较方便且行得通参考代码:%d.000\n%d.000#include…… 题解列表 2022年07月01日 0 点赞 0 评论 378 浏览 评分:0.0
最小公倍数求解(C语言) 摘要:解题思路:i/40要想成为最简真分数,满足分子分母的最小公倍数等于分子分母乘积即可。注意事项:编写函数来求解最小公倍数参考代码:#includeint gcd(int a,int b){ if(b==…… 题解列表 2022年07月01日 0 点赞 0 评论 314 浏览 评分:0.0