题解列表
ASCll码巧解约束项
摘要:解题思路:根据题目所列条件,我们要根据switch语句来模拟计算器,但是switch语句又不能直接根据字符来选出情况(即case后面不能直接跟'+'),所以我们可以找到一个中间量:即将……
编写题解 2225: 蓝桥杯算法训练-出现次数最多的整数
摘要:解题思路:只用for语句就行注意事项:参考代码:#include <stdio.h> int main(){ int n,a[10000],b[10000],c[10000],t,e,m=0,d=0,……
蓝桥杯算法提高VIP-乘法运算(优质题解)(此题第一个Python题解)
摘要:解题思路:注意事项:参考代码:m,n=map(int,input().strip().split())g=s=yh=er=jg=0g=n%10s=n//10yh=m*ger=s*mjg=yh+er*1……
1310: 表达式计算4
摘要:```cpp
#include
#include
using namespace std;
stacknum;
stackop;
int qmi(int a,int b)
{
……
查找最大元素(c语言代码)
摘要:解题思路:1.查找最大元素。2.插入字符串(max)。根据题目要求,我们可以将本程序分为几个部分,利用函数解决每一步的问题:
#include
#include
……
神奇的fans(c语言)
摘要:```c
#include
#include
int compare(const void* n1, const void* n2)
{
return *((int*)n1) - *(……
1311: 数字三角形
摘要:```cpp
#include
using namespace std;
int a[100][100],n;
int f(int i,int j)
{
if(i==n)
……