[编程入门]分段函数求值-题解(Python代码) 摘要:x = float(input())if x < 1: print(int(x))elif 1 <= x < 10: print(int(2*x-1))else: print(int…… 题解列表 2021年02月18日 0 点赞 0 评论 772 浏览 评分:6.0
[编程入门]三个数找最大值-题解(Python代码) 摘要:a, b, c = map(int, input().split())if a > b and a > c: print(a)elif b > a and b > c: print(b)e…… 题解列表 2021年02月18日 0 点赞 0 评论 805 浏览 评分:6.0
鸡兔同笼-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s; int x = 0, y = 0;// x 为鸡的数量 y 为兔的数量 scanf("%d", &…… 题解列表 2021年02月18日 0 点赞 0 评论 1260 浏览 评分:6.0
自动晾衣机 (Java代码)模拟 摘要:解题思路: 数组模拟就行 注意事项: 题目的n和环形根本没限制好……,AC只需数组开完就行参考代码:import java.util.Scanner; /** …… 题解列表 2021年02月18日 0 点赞 0 评论 847 浏览 评分:6.0
[编程入门]成绩评定-题解(C++代码) 摘要:解题思路:用if,else注意事项:else后面不加条件参考代码:#include<iostream>using namespace std;int main(){ int score; …… 题解列表 2021年02月18日 0 点赞 0 评论 817 浏览 评分:6.0
[编程入门]三个数最大值-题解(C++代码) 摘要:解题思路:用if,else注意事项:else后面不加条件参考代码:#include<iostream>using namespace std;int main(){ int a,b; c…… 题解列表 2021年02月18日 0 点赞 1 评论 585 浏览 评分:6.0
[编程入门]分段函数求值-题解(C++代码) 摘要:解题思路:用if,else注意事项:else后面不加条件参考代码:#include<iostream>using namespace std;int main(){ int x; cin …… 题解列表 2021年02月19日 0 点赞 1 评论 1257 浏览 评分:6.0
程序员的表白-题解(Python代码) 摘要:解题思路:'*' + n' ' +'*' (n行)(n+2)'*' (最后一行)注意事项:for i in range(n): 循环参…… 题解列表 2021年02月19日 0 点赞 0 评论 942 浏览 评分:6.0
蓝桥杯算法提高VIP-不同单词个数统计(Java代码) 13行!!! 摘要:解题思路:注意事项:参考代码:import java.util.HashSet; import java.util.Scanner; import java.util.Set; public c…… 题解列表 2021年02月20日 0 点赞 0 评论 913 浏览 评分:6.0
信息学奥赛一本通T1239-统计数字-题解(C语言代码) #include#includetypedefstruct{int*data;intlen;}sqlist;voidcreat(sqlist&s,intn){s.len=n;inti;s.data=(int*)malloc(sizeof(int)*(n+1));for(i=1;i 题解列表 2021年02月21日 0 点赞 0 评论 1139 浏览 评分:6.0