1856: 最小三个数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; int arr[100]…… 题解列表 2023年10月08日 0 点赞 0 评论 155 浏览 评分:0.0
1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; bool func(int i);…… 题解列表 2023年10月08日 0 点赞 0 评论 195 浏览 评分:0.0
1864: 数日子 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年10月08日 0 点赞 0 评论 243 浏览 评分:0.0
1865: 换硬币 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int func(int n) {…… 题解列表 2023年10月08日 0 点赞 0 评论 308 浏览 评分:0.0
星期判断机(( •̀ ω •́ )✧) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); switch(n) { cas…… 题解列表 2023年10月08日 0 点赞 0 评论 382 浏览 评分:0.0
判断闰年(宏定义,给自己找找乐子) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define YEAR(a) a%100?(a%4?'N':'Y'):(a%400?'N&…… 题解列表 2023年10月08日 0 点赞 0 评论 303 浏览 评分:0.0
用栈解决这个问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#define maxsize 101typedef struct{…… 题解列表 2023年10月08日 0 点赞 0 评论 460 浏览 评分:0.0
编写题解 2847: 找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:a = input()Is = Falsefor i in a: if a.count(i) == 1: print(i) Is = T…… 题解列表 2023年10月08日 0 点赞 0 评论 285 浏览 评分:0.0
编写题解 2835: 计算书费 摘要:解题思路:注意事项:参考代码:price = (28.9, 32.7, 45.6, 78, 35, 86.2, 27.8, 43, 56, 65)quantity = tuple(map(int, i…… 题解列表 2023年10月08日 0 点赞 0 评论 278 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项: = 是赋值,==是等于。参考代码:、#include<stdio.h>int main(){ int a,b; scanf("%d %d…… 题解列表 2023年10月08日 0 点赞 0 评论 261 浏览 评分:0.0