题解 1480: 模拟计算器 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin…… 题解列表 2024年01月06日 0 点赞 0 评论 131 浏览 评分:0.0
3001: 整数的和 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,r; cin >>a>>b>>c; r=…… 题解列表 2024年01月06日 0 点赞 0 评论 181 浏览 评分:0.0
1783: 星期判断机(不用switch) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a;if(a==0) …… 题解列表 2024年01月06日 0 点赞 0 评论 162 浏览 评分:0.0
题目描述 有一字符串,包含n个字符。自定义函数之字符串拷贝 C语言 摘要:解题思路:注意事项:写一函数,将此字符串中从第m个字符开始的全部字符复制成为另一个字符串。 输入格式 数字n 一行字符串 数字m 输出格式 从m开始的子串 样例输入 6 abcdef 3 样例输出 c…… 题解列表 2024年01月06日 0 点赞 0 评论 187 浏览 评分:0.0
石头剪刀布 摘要:解题思路:注意事项:参考代码:def winner(n,pattern_A,pattern_B): a=pattern_A*(n//len(pattern_A))+pattern_A[:n%le…… 题解列表 2024年01月06日 0 点赞 0 评论 182 浏览 评分:0.0
信息学奥赛一本通T1181-整数奇偶排序(C++_STL) 摘要:参考代码:#include <iostream> #include <algorithm> #include <vector> using namespace std; bool cmp(…… 题解列表 2024年01月06日 0 点赞 0 评论 172 浏览 评分:0.0
编写题解 2791: 计算邮资 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; char c; cin>>…… 题解列表 2024年01月06日 0 点赞 0 评论 143 浏览 评分:0.0
编写题解 1480: 模拟计算器 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin…… 题解列表 2024年01月06日 0 点赞 0 评论 123 浏览 评分:0.0
编写题解 1783: 星期判断机 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; switc…… 题解列表 2024年01月06日 0 点赞 0 评论 190 浏览 评分:0.0
不吉利日期 摘要:``` #include #include #include #include using namespace std; typedef long long ll; const i…… 题解列表 2024年01月06日 0 点赞 0 评论 196 浏览 评分:0.0