啊啊啊啊啊(第一次写题解) 摘要:解题思路:注意事项:要有Break!(我是小学生)参考代码:#include<iostream>using namespace std;int main(){ i…… 题解列表 2026年08月05日 0 点赞 0 评论 179 浏览 评分:0.0
不用switch-case 摘要:解题思路:或的用法注意事项:参考代码:#include <stdio.h>int main() { int day; scanf(&qu…… 题解列表 2025年10月05日 0 点赞 0 评论 356 浏览 评分:0.0
2025/7/24刷题记录 解题思路:switch可以将输出结果一样的case放一部分不写break到最后一个再写如果switch如果前面的case匹配成功但是没有break会继续往下执行注意事项:参考代码:#includeintmain(){inta;scanf("%d", 题解列表 2025年07月24日 0 点赞 0 评论 395 浏览 评分:0.0
C++简单解法 摘要:解题思路:属于基础题目注意事项:参考代码:#include<iostream>using namespace std;int main(void){ i…… 题解列表 2025年03月05日 0 点赞 0 评论 610 浏览 评分:0.0
晶晶赴约会(c语言switch语句) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); switch(a) { case 1: case …… 题解列表 2024年12月12日 2 点赞 0 评论 546 浏览 评分:10.0
新手 晶晶赴会 摘要:解题思路:简单判断邀约的星期是否为偶数注意事项:参考代码#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) …… 题解列表 2024年12月04日 1 点赞 0 评论 420 浏览 评分:0.0
2788普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a; scanf("%d",&n); if (n == 1 || n == 3 || n == 5…… 题解列表 2024年11月23日 0 点赞 0 评论 386 浏览 评分:0.0
可以稍微少打一些代码 摘要:解题思路:注意事项:不要忘记switch语句的花括号参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); switch(a…… 题解列表 2024年11月11日 0 点赞 0 评论 360 浏览 评分:0.0
编写题解 2788: 晶晶赴约会,python超简单 解题思路:用列表注意事项:无参考代码:#获取用户输入的日期(星期几)day=int(input())#定义一个列表,包含晶晶的上课日busy_days=[1,3,5]#判断输入的日期是否在晶晶的上课日列表中ifdayinbusy_days:#如果是上课日, 题解列表 2024年03月18日 0 点赞 0 评论 808 浏览 评分:2.0
编写题解 2788: 晶晶赴约会python 摘要:解题思路:注意事项:参考代码:n = int(input()) if n <= 5: if n % 2 == 0: print("YES") else:   题解列表 2024年03月06日 0 点赞 0 评论 715 浏览 评分:0.0