题解列表

筛选

大小写转换(C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char ch[100]; while(gets(ch)){//while多……

题解 2768: 与圆相关的计算

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   double r;   scanf("%lf",&r);   pr……

题解 1267: A+B Problem

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

王牌花色详细解法,新手小白也能懂

摘要:# 王牌花色 **思路很重要,细心也很重要** ## 这里要多次多组输入,这就增加了难度,同时它也降低了难度,因为我们只需手动输入一个王牌花色字符,再用玩家的牌的花色与输入的王牌花色字符匹……

你怎么知道我单抽出金

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    cout<<sizeof(bool)<<" "<<s……

详细代码,数学问题不大,就是理解问题

摘要:解题思路:这个首先真的细心读题目,题目说每行测试后悔空一行,这说明什么 ——听我到来;这是一个求字符众数的题,首先得遍历每个字符串吧,遍历字符串就得用循环吧遍历字符串得数一下字符串中每个字符出现多少次……

2759: 打印字符

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

题解 2759: 打印字符

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

小白钓鱼(简单题解)

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

奇偶求和!!!

摘要:解题思路:选判断奇数和偶数,再加就行了注意事项:参考代码:#include<stdio.h>int main(){    int n,odd=0,even=0;    scanf("%d",&n); ……