题解列表
超级复杂的方法,不建议参考.
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a=0,b=0,c=0,d=0,e=0,j=0; scanf("%d",&n); ……
蓝桥杯2024年第十五届省赛真题-好数 暴力
摘要:解题思路:注意事项:参考代码:#include"iostream"using namespace std;int main(){ int n; int s=0; int x=1; cin>>n; fo……
好理解的答案,直接写就是了
摘要:解题思路:无所畏惧,直接上注意事项:0 到 9 的ASCII码是48到57a 到 z 的ASCII码是97到122A 到 Z 的ASCII码是65到90参考代码:#include<stdio.h>#i……
运用封装的方法和调用函数借以解答汽水瓶问题
摘要:解题思路:def f(water): num=0 while True: if water==2: num+=1 break ……
任意年月日输出 C语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int a[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};int main(){ in……
3051: 登山 有点难这还是入门题吗?
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main(){
// 定义变量n表示数组长度,a、b、c为……
灭有感情,全是for//和数学题解//(C语言
摘要:解题思路:for的自增设定注意事项:注释那里可直接代替前个for参考代码:#include<stdio.h>int main(){ int a,b,c,i; float sum1=0,sum2=0,s……