省赛真题-纸张尺寸o_O
摘要:解题思路:注意事项:参考代码:size=input()a=int(size[1])length=1189width=841for i in range(a): length=length//2 ……
Java题解:暴力解法
摘要:解题思路:注意事项:参考代码:package com.test.eazy;import java.util.Scanner;public class eazy14 { public static……
C语言题解 纸张尺寸 模拟
摘要:解题思路:用for模拟一下就行已经有大佬提前分析这个题了。我只是用来记录一下参考代码:#include <stdio.h>
#include <string.h>
#include <math.h……
蓝桥杯2022年第十三届省赛真题-纸张尺寸
摘要:解题思路:注意事项:参考代码:s = input().strip()n = int(s[1])a = 1189b = 841for i in range(n): a = a//2 if a……
蓝桥杯2022年第十三届省赛真题-纸张尺寸
摘要:解题思路:注意事项:参考代码:n=input()match n: case 'A0': print(11……