题解列表
ASCll码巧解约束项
摘要:解题思路:根据题目所列条件,我们要根据switch语句来模拟计算器,但是switch语句又不能直接根据字符来选出情况(即case后面不能直接跟'+'),所以我们可以找到一个中间量:即将……
[编程入门]成绩评定
摘要:一、解题思路:switch语句C参考代码:#include <stdio.h>
int main() {
int s;
scanf("%d", &s);
switch (s / 10……
[编程入门]利润计算
摘要:i<=100000 10%100000<i≤200000200000<i≤400000 5%400000<i≤600000 3%600000<i≤1000000 1.5%1000000<i 1%一、解……
[编程入门]字符串分类统计
摘要:一、解题思路:C参考代码:#include <stdio.h>
#include <string.h>
int main() {
char str[200];
int z = 0, s……
与指定数字相同的数的个数
摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner scanner = new ……
Python‘’蚂蚁感冒‘’,编程即数学(优质题解)
摘要:解题思路:可以把碰头回头改为交叉带病,完全等价参考代码:n=int(input())q=list(map(int,input().split()))x=q[0]num=1for i in range(……
编写题解 2225: 蓝桥杯算法训练-出现次数最多的整数
摘要:解题思路:只用for语句就行注意事项:参考代码:#include <stdio.h> int main(){ int n,a[10000],b[10000],c[10000],t,e,m=0,d=0,……