1041: [编程入门]宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define MAX(a, b, c)\{\ printf("%.3lf"…… 题解列表 2025年11月04日 0 点赞 0 评论 316 浏览 评分:0.0
[编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[30…… 题解列表 2025年11月04日 0 点赞 0 评论 327 浏览 评分:0.0
整数序列的元素最大跨度值 ———— STL解法 摘要:解题思路:使用具有C++特色的vector<>容器来代替数组使用,同时使用迭代器,调用STL…… 题解列表 2025年11月04日 0 点赞 0 评论 214 浏览 评分:0.0
慢慢看,慢慢理解,你也能做到, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a=0,n=0;int answer=0;int main(){ …… 题解列表 2025年11月04日 1 点赞 0 评论 383 浏览 评分:0.0
一个for循环解决问题 摘要:解题思路:注意事项:参考代码:#include<math.h>#include<stdio.h>int main(){ int i,n,temp; d…… 题解列表 2025年11月04日 1 点赞 0 评论 715 浏览 评分:0.0
for循环嵌套加个if语句 摘要:解题思路:注意事项:为确保小的在前大的在后,加个逻辑判断语句。参考代码:#include<math.h>#include<stdio.h>int main(){ &…… 题解列表 2025年11月04日 0 点赞 0 评论 207 浏览 评分:0.0
T2752-整型数据类型存储空间大小--步骤清晰 摘要:解题思路:在Python中需要使用ctypes模块模拟C语言数据类型c_int()和c_short()是ctypes提供的C兼容数据类型注意事项:参考代码:fromctypes…… 题解列表 2025年11月04日 1 点赞 0 评论 384 浏览 评分:0.0
T2753-浮点型数据类型存储空间大小--步骤清晰 摘要:解题思路:注意事项:参考代码:fromctypesimport*a=c_float()b=c_double(…… 题解列表 2025年11月04日 0 点赞 0 评论 218 浏览 评分:0.0
T2755-类型转换1--步骤清晰 摘要:解题思路:注意事项:参考代码:fromctypesimport*a=c_int(32768)b=c_shor…… 题解列表 2025年11月04日 0 点赞 0 评论 453 浏览 评分:0.0