题解列表
蓝桥杯算法提高VIP-排队打水问题,贪心
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main(){
// 定义变量n和m,t数组用于存储输入的……
蓝桥杯历届试题-翻硬币,这真的是比赛题吗?
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main(){
// 定义两个字符串变量s1和s2,用于存……
1009: [编程入门]数字的处理与判断(简单暴力)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10]; gets(a); int len=……
c++小白,看看就行,不动脑袋
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,m,z,i=1; while (cin >> n) { ……