题解列表

筛选

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int n = 0, a[10] = {0}, ans = 0;    for (int i = 0; ……

2800: 多边形内角和

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {     int n = 0, ans = 0;     scanf("%d", &n);    ……

2886: 图像旋转

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {     int m = 0, n = 0, a[105][105] = {0}, b[105][10……

2903: 不高兴的津津

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {     int a[8] = {0}, n = 0, max = 0, ans = 0;     ……

2917: 奇数单增序列

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {     int n = 0, a[505] = {0}, q = 0;     scanf("%d……

回文判断(字符串比较)+ 踩坑经过

摘要:解题思路:                回文数:是从左到右读和从右到左读都一样的数字。                思路:既然题目要求使用字符串来解决,无非就是字符串的比较问题。先使用一个for循……

c语言蓝桥杯1446题解

摘要:解题思路:由题意能看出是求三个数的最小公倍数.关键就是把三给数的最小公倍数代码写出就可以解了.注意事项:可以先把最大公约数求出,再把算出最小公倍数,最后调用函数.参考代码:#include<stdio……

c语言蓝桥杯2263题解

摘要:解题思路:数学思维.简单思路注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,a,b=0;               ///i瓶子数,j瓶盖数  sc……

题解 2912: 最长平台

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int n,count=1,max=1,a[10……

1019简单易懂的自由下落

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float M,N,h,a,i,t; float sum; sum=0; s……