1859: 与2无关的数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; bool func(int i); …… 题解列表 2023年10月08日 0 点赞 0 评论 118 浏览 评分:0.0
1864: 数日子 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年10月08日 0 点赞 0 评论 165 浏览 评分:0.0
1865: 换硬币 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int func(int n) {…… 题解列表 2023年10月08日 0 点赞 0 评论 216 浏览 评分:0.0
星期判断机(( •̀ ω •́ )✧) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); switch(n) { cas…… 题解列表 2023年10月08日 0 点赞 0 评论 272 浏览 评分:0.0
判断闰年(宏定义,给自己找找乐子) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define YEAR(a) a%100?(a%4?'N':'Y'):(a%400?'N&…… 题解列表 2023年10月08日 0 点赞 0 评论 228 浏览 评分:0.0
用栈解决这个问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#define maxsize 101typedef struct{…… 题解列表 2023年10月08日 0 点赞 0 评论 344 浏览 评分:0.0
编写题解 2847: 找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:a = input()Is = Falsefor i in a: if a.count(i) == 1: print(i) Is = T…… 题解列表 2023年10月08日 0 点赞 0 评论 173 浏览 评分: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 评论 189 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项: = 是赋值,==是等于。参考代码:、#include<stdio.h>int main(){ int a,b; scanf("%d %d…… 题解列表 2023年10月08日 0 点赞 0 评论 159 浏览 评分:0.0
凯撒密码—字母循环 摘要:####这个题的关键是要把26个大写字母循环起来 解题思路: 题意是把每个字符串的字符向左移五位然后输出新的字符串,根据Ascll表可以知道对字符减5可以得到左移5位的字符,遍历每次输入的字符串对…… 题解列表 2023年10月08日 0 点赞 0 评论 247 浏览 评分:0.0