二进制,秒了 包含C语言、Python思路 摘要:题目本质就是几何级数,C语言还是任何语言可以用64无符号位整数表示计算几何级数:2⁰ + 2¹ + 2² + ... + 2⁶³二进制角度的理解从二进制角度看:1 << 0 = 1 (二进…… 题解列表 2025年08月12日 0 点赞 0 评论 115 浏览 评分:0.0
2025/8/11刷题记录 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <stdbool.h>int main()…… 题解列表 2025年08月11日 0 点赞 0 评论 86 浏览 评分:0.0
2025/8/11刷题记录 摘要:解题思路:strcmp比较两个字符串是否相等 相等输出0 s==“”这种写法不存在注意事项:参考代码:#include <stdio.h>#include <…… 题解列表 2025年08月11日 0 点赞 0 评论 104 浏览 评分:0.0
2025/8/11刷题记录 摘要:解题思路:输入有空格就不能用scanf注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ &nbs…… 题解列表 2025年08月11日 0 点赞 0 评论 126 浏览 评分:0.0
编写题解 1096: Minesweeper(很好理解) 摘要: #include #include//用于memset初始化函数 //这个函数不怕麻烦的应该都能写出来,不多解释了 void count(char a[][100],i…… 题解列表 2025年08月08日 3 点赞 0 评论 82 浏览 评分:0.0
编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:# 读取输入数据,M是初始高度,N是落地次数M, N = map(int, input().split())height = M # 当前高度,初始为Mtot…… 题解列表 2025年08月10日 0 点赞 0 评论 132 浏览 评分:0.0
编写题解 3000: 交换值 摘要:解题思路:注意事项:参考代码:a=input().split(' ')b=a[1]c=a[0]print(b,c)…… 题解列表 2025年08月09日 1 点赞 0 评论 84 浏览 评分:10.0
题解(也不知道对不对,感觉像个数学题) 摘要:解题思路:排列组合注意事项:不确定参考代码:#include<stdio.h>#include<string.h>intmain()…… 题解列表 2025年08月09日 0 点赞 0 评论 70 浏览 评分:0.0
题解(大佬们帮忙看下,是否有误) 摘要:…… 题解列表 2025年08月09日 0 点赞 0 评论 84 浏览 评分:0.0