用if else语句。设置一个中间变量用来对比3变量的大小 摘要:解题思路:用if else语句。设置一个中间变量用来对比3变量的大小注意事项:if else 语句的格式与写法 //所有程序在英文环境下写入printf("%d",n); n前要有一个逗…… 题解列表 2023年11月24日 0 点赞 0 评论 205 浏览 评分:0.0
同因查找(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=10;i<1000;i++){ if(i%2==0&&i%3==0&&i%7==0) p…… 题解列表 2023年11月24日 0 点赞 0 评论 209 浏览 评分:0.0
为什么我写的这么简单1 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;int a[1111],b[1111],c[1111],d…… 题解列表 2023年11月24日 0 点赞 0 评论 294 浏览 评分:0.0
1003密码破译 摘要:解题思路:字符+4操作/*要将"China"译成密码,译码规律是:用原来字母后面的第4个字母代替原来的字母.例如,字母"A"后面第4个字母是"E"."E"代替"A"。因此,"China"应译为"Glm…… 题解列表 2023年11月24日 0 点赞 0 评论 379 浏览 评分:0.0
运用strtok函数和动态分配函数解决 摘要:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> int main() { char str[5000]; ch…… 题解列表 2023年11月24日 0 点赞 0 评论 283 浏览 评分:0.0
大小写转换(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char ch[100]; while(gets(ch)){//while多…… 题解列表 2023年11月25日 0 点赞 0 评论 482 浏览 评分:0.0
题解 2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double r; scanf("%lf",&r); pr…… 题解列表 2023年11月25日 0 点赞 0 评论 353 浏览 评分:0.0
题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2023年11月25日 0 点赞 0 评论 225 浏览 评分:0.0
王牌花色详细解法,新手小白也能懂 摘要:# 王牌花色 **思路很重要,细心也很重要** ## 这里要多次多组输入,这就增加了难度,同时它也降低了难度,因为我们只需手动输入一个王牌花色字符,再用玩家的牌的花色与输入的王牌花色字符匹…… 题解列表 2023年11月25日 0 点赞 0 评论 349 浏览 评分:0.0
你怎么知道我单抽出金 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(bool)<<" "<<s…… 题解列表 2023年11月25日 0 点赞 0 评论 303 浏览 评分:0.0