T1026-数字逆序输出--两行解决 摘要:解题思路:注意事项:参考代码:num=list(map(int,input().split()))print(''.join(map…… 题解列表 2025年11月04日 0 点赞 0 评论 246 浏览 评分:10.0
T2755-类型转换1--步骤清晰 摘要:解题思路:注意事项:参考代码:fromctypesimport*a=c_int(32768)b=c_shor…… 题解列表 2025年11月04日 0 点赞 0 评论 190 浏览 评分:0.0
T2756-类型转换2--步骤清晰 摘要:解题思路:注意事项:参考代码:fromctypesimport*a=c_double(1.000000001)b=&nb…… 题解列表 2025年11月04日 0 点赞 0 评论 98 浏览 评分:0.0
Py2795-财务管理--两行解决 摘要:解题思路:注意事项:参考代码:n=list(float(input())for_inrange(12))print(f…… 题解列表 2025年11月04日 0 点赞 0 评论 133 浏览 评分:0.0
两次循环和一次判断 摘要:解题思路:两次循环和一次判断注意事项:输出结果时要加1(arr2[1]+1)参考代码:#include<stdio.h>int main(){ int n,cou…… 题解列表 2025年11月05日 0 点赞 0 评论 84 浏览 评分:10.0
就是数字有点大,我用的long 和%ld 摘要:解题思路:注意事项: 这里我用的是long 用int 的话在后面数值越来越大,会超出int的限定值,从而变成负数。还有要用%ld别搞错了参考代码:#…… 题解列表 2025年11月05日 1 点赞 0 评论 180 浏览 评分:0.0
1029:自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ void IsPrime(int n); int num; scanf(&…… 题解列表 2025年11月05日 1 点赞 0 评论 166 浏览 评分:0.0
2850:将输入的字符串转变成亲朋字符串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char arr[101]; //scanf("%s…… 题解列表 2025年11月05日 0 点赞 0 评论 125 浏览 评分:0.0
2876:矩阵交换行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[5][5]={}; for(in…… 题解列表 2025年11月05日 0 点赞 0 评论 179 浏览 评分:0.0
2878:计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:一:比较笨的方法#include<stdio.h>int main(){ int arr[100][100]; &nbs…… 题解列表 2025年11月05日 1 点赞 0 评论 141 浏览 评分:10.0