c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101], str1[1000]; gets(str); …… 题解列表 2023年05月23日 0 点赞 0 评论 580 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ struct date …… 题解列表 2023年05月23日 0 点赞 0 评论 747 浏览 评分:0.0
1128:两行代码 摘要:解题思路:注意事项:参考代码:for x in sorted([int(x) for x in input().split()]): print(x, end=' ')…… 题解列表 2023年05月24日 0 点赞 0 评论 996 浏览 评分:0.0
1129:两行代码 摘要:解题思路:注意事项:参考代码:for x in sorted(map(int, input().split()), reverse=True): print(x, end=' …… 题解列表 2023年05月24日 0 点赞 0 评论 858 浏览 评分:0.0
1072基础解法(Python) 摘要:解题思路:简单思路注意事项:了解divmod()函数的基础用法参考代码:import sysfor line in sys.stdin : bot = int(line) if bot =…… 题解列表 2023年05月24日 0 点赞 0 评论 634 浏览 评分:0.0
1118:TOM数超简单字符数组算法 摘要:解题思路:字符数组,记得-‘0’将字符转换成数字注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <al…… 题解列表 2023年05月25日 0 点赞 0 评论 740 浏览 评分:0.0
python水仙花数判断 摘要:解题思路:直接用到pow函数注意事项:注意符号参考代码:for i in range(100,999): a=int(i%10) b=int(i/10%10) c=int(i/100…… 题解列表 2023年05月26日 0 点赞 0 评论 566 浏览 评分:0.0
计算两点间的距离 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Dome25 { public static void main(String…… 题解列表 2023年05月26日 0 点赞 0 评论 812 浏览 评分:0.0
蓝桥杯算法训练-字符串合并 ###C++中的string类```c++#include#includeusingnamespacestd;intmain(){stringa,b;cin>>a>>b;stringc=a+b;cout 题解列表 2023年05月26日 0 点赞 0 评论 728 浏览 评分:0.0
编写题解 2006: 寻找奇整数 ##暴力查找```c++#includeintmain(){intnums[]={3,7,5,13,25,45,78,23,8,33,9,19,28,41,50};intfind=0;std::cin>>find;for(inti=0;i<15;i++){if(nums[i]==find&&find% 题解列表 2023年05月26日 0 点赞 0 评论 640 浏览 评分:0.0