题解列表

筛选

python 知识点:字符统计 简单易懂

摘要:解题思路:学习python第一天注意事项: python的在线编译器用不了参考代码:# 字符串的统计 str.count('字符串') 输出为int类型的个数str=input()a0……

2758: 打印ASCII码

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    char a ;    cin>>a ;    co……

鸡你太美:坤坤三角

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){    in……

牛吃牧草(六年级天天写)

摘要:解题思路:小学题目 你不能不会吧注意事项:参考代码:#include<iostream> using namespace std; int main() {     int n;     c……

1332: 津津的储蓄计划

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[12];//每个月的预算 int i; for(i=0;i<12;i++)  { scanf("%……

函数求整数平均值

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ave(int a[],int n){ int sum=0; for(int……

题解 2544: N以内累加求和

摘要:解题思路:把N以内的每一个数(循环变量i)一个一个加到同一个变量(s),变量(s)一开始需要赋初始值0;编程步骤:1、创建2个int类型的变量n、s=0;2、输入一个整数n;3、for循环遍历(1~n……

判断是否为两位数

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a;    cin>>a;    if(a>=10 &&……