2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月11日 0 点赞 0 评论 521 浏览 评分:9.9
冒泡法轻松解开! 摘要:解题思路:先输入前九个元素,然后输入插入元素,再然后使用冒泡法进行整体排序注意事项:参考代码:#include <stdio.h>int main(){ int arr[10]; for (int a…… 题解列表 2023年12月11日 0 点赞 0 评论 324 浏览 评分:9.9
暴力典中典 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100001int main(){ char str[N]; gets(str); int len…… 题解列表 2023年12月11日 0 点赞 0 评论 387 浏览 评分:0.0
题解 2821: 开关灯 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[6000];int main() { int n,m; cin>>n>>…… 题解列表 2023年12月11日 0 点赞 0 评论 315 浏览 评分:0.0
津津的储蓄计划 摘要:解题思路:注意事项: 该赋的初值一定要注意赋!参考代码://用标记法 #include<stdio.h> int main() { int i,flag…… 题解列表 2023年12月11日 0 点赞 0 评论 419 浏览 评分:9.9
二次C语言——公约公倍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m, n,q, t; scanf_s("%d%d", &m, &n); q = m * n; if (m…… 题解列表 2023年12月11日 0 点赞 0 评论 371 浏览 评分:0.0
题解 2909: 直方图 摘要: #include using namespace std; int a,b=0,c,d[20000],e[200000]; int main() { …… 题解列表 2023年12月11日 0 点赞 1 评论 344 浏览 评分:9.9
c代码记录之统计字母个数 摘要: #include int main() { int a[26][1]; for(int i=0;i='a'&&get_char…… 题解列表 2023年12月11日 0 点赞 0 评论 498 浏览 评分:0.0
c代码记录之敲七游戏-用sprintf函数将整数转成字符串 摘要:sprint函数,向字符串里格式化打印,这里将整数打印到字符串里 sprintf(string,"%d",number) #include #include #in…… 题解列表 2023年12月11日 0 点赞 0 评论 385 浏览 评分:0.0
for循环解决同因查找 摘要:解题思路:for循环解决同因查找注意事项:限制条件可以写一起参考代码:#include<stdio.h>int main(){ for (int i = 10; i <= 1000; i++) { …… 题解列表 2023年12月11日 0 点赞 0 评论 381 浏览 评分:0.0