不懂可评论 摘要:解题思路:注意事项:参考代码:x=int(input()) for pen4 in range(x//4,-1,-1):#优先买4元的笔,开始循环递减到0结束 remaining=x-pe…… 题解列表 2024年11月21日 0 点赞 0 评论 403 浏览 评分:9.9
格式化输出用printf #2609: 蓝桥杯2021年第十二届省赛真题-时间显示 ```#define_CRT_SECURE_NO_WARNINGS1#include#include#include#include#include#include#include#include#include#include#include#include#defineMAX0x3f3f3f3f# 题解列表 2024年11月21日 0 点赞 0 评论 507 浏览 评分:0.0
放心饮用,可以当作以后的模板 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a,sum=0; scanf("%d",&a); for(int i=2;i*i<=a;i++){ …… 题解列表 2024年11月21日 0 点赞 0 评论 508 浏览 评分:9.9
数组插入处理 摘要:#includeusing namespace std; int main() { int a[10]; for(int i=0;i>a[i]; int x,m;…… 题解列表 2024年11月21日 1 点赞 0 评论 773 浏览 评分:9.9
3022: 流感传染 呜呜呜呜呜呜呜呜呜呜 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,以及sum用于计数 …… 题解列表 2024年11月20日 0 点赞 0 评论 570 浏览 评分:0.0
二级C语言-计负均正 摘要:#includeusing namespace std; int main() { int a[110]; for(int i=1;i>a[i]; double ans…… 题解列表 2024年11月20日 0 点赞 0 评论 619 浏览 评分:9.9
3033: 放苹果 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明,用于存储测试用例数量和两个整数m和n int t, n…… 题解列表 2024年11月20日 1 点赞 0 评论 781 浏览 评分:6.0
题目 3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要: #include <bits/stdc++.h> #define int long long #define debuga(v, i) cout << #v << "[" << i << "]…… 题解列表 2024年11月20日 0 点赞 0 评论 618 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[150]; char b[51]; gets(a); gets(b); …… 题解列表 2024年11月20日 1 点赞 0 评论 757 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,b=0,c=0,d=0,e=0; char a[201]; gets(a); …… 题解列表 2024年11月20日 1 点赞 0 评论 1146 浏览 评分:9.0