只会暴力,在cmd窗口输入calc调出计算器一个一个算 摘要:#include <iostream> using namespace std; int main() { string s; cin>>s; if(s[1]==&…… 题解列表 2022年04月18日 0 点赞 0 评论 374 浏览 评分:8.0
大家就这样看看把。。。 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string str1; cin>>str1; in…… 题解列表 2022年04月15日 0 点赞 1 评论 886 浏览 评分:7.3
小南解题--纸张尺寸--58ms 摘要:zgn946 13:48 2022/6/12省赛时写的--小南'''for i in range(9): d=[max(b,c)//2,min(b,c)] d.s…… 题解列表 2022年06月12日 0 点赞 0 评论 613 浏览 评分:6.7
蓝桥杯2022年第十三届省赛真题-纸张尺寸(结构体) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct{ //定义结构体,构造数据类型z,分别存储长和宽 int l; int w;}z;i…… 题解列表 2023年02月22日 0 点赞 0 评论 248 浏览 评分:6.0
这是当时比赛的写的 摘要:解题思路:循环就完了注意事项:参考代码:n=1189m=841a=input()k=int(a[1])while k!=0: l=n//2 n=m m=l k-=1print(…… 题解列表 2022年04月29日 0 点赞 0 评论 780 浏览 评分:4.6
蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路:注意事项:参考代码:s = input().strip()n = int(s[1])a = 1189b = 841for i in range(n): a = a//2 if a…… 题解列表 2024年08月12日 4 点赞 0 评论 446 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路:注意事项:参考代码:n=input()match n: case 'A0': print(11…… 题解列表 2025年04月06日 3 点赞 0 评论 208 浏览 评分:0.0
C语言题解 纸张尺寸 模拟 摘要:解题思路:用for模拟一下就行已经有大佬提前分析这个题了。我只是用来记录一下参考代码:#include <stdio.h> #include <string.h> #include <math.h…… 题解列表 2024年04月10日 1 点赞 0 评论 240 浏览 评分:0.0
Java题解:暴力解法 摘要:解题思路:注意事项:参考代码:package com.test.eazy;import java.util.Scanner;public class eazy14 { public static…… 题解列表 2024年03月29日 0 点赞 0 评论 232 浏览 评分:0.0
观察最长边最短边 摘要:解题思路:先顺题意写几个例子,观察一下,发现最长边除以二变成下一个纸张的最短边,最短边变成下一张纸张的最长边注意事项:用String s=sc.next();输入纸张代号,要知道是第几张要用字符串ch…… 题解列表 2024年03月15日 0 点赞 0 评论 142 浏览 评分:0.0