1856: 最小三个数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; int arr[100]…… 题解列表 2023年10月08日 0 点赞 0 评论 294 浏览 评分:0.0
1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; bool func(int i); …… 题解列表 2023年10月08日 0 点赞 0 评论 383 浏览 评分:0.0
1864: 数日子 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年10月08日 0 点赞 0 评论 375 浏览 评分:0.0
1865: 换硬币 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int func(int n) {…… 题解列表 2023年10月08日 0 点赞 0 评论 457 浏览 评分:0.0
星期判断机(( •̀ ω •́ )✧) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); switch(n) { cas…… 题解列表 2023年10月08日 0 点赞 0 评论 579 浏览 评分:0.0
判断闰年(宏定义,给自己找找乐子) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define YEAR(a) a%100?(a%4?'N':'Y'):(a%400?'N&…… 题解列表 2023年10月08日 0 点赞 0 评论 414 浏览 评分:0.0
用栈解决这个问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#define maxsize 101typedef struct{…… 题解列表 2023年10月08日 0 点赞 0 评论 581 浏览 评分:0.0
编写题解 2847: 找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:a = input()Is = Falsefor i in a: if a.count(i) == 1: print(i) Is = T…… 题解列表 2023年10月08日 0 点赞 0 评论 412 浏览 评分: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 评论 404 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项: = 是赋值,==是等于。参考代码:、#include<stdio.h>int main(){ int a,b; scanf("%d %d…… 题解列表 2023年10月08日 0 点赞 0 评论 384 浏览 评分:0.0