题解 2780: 奇偶数判断(挺简单的) 摘要:解题思路: 看下面^_^参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n ; //定义n cin>>n; …… 题解列表 2023年06月30日 0 点赞 0 评论 174 浏览 评分:0.0
题目 1431: 蓝桥杯2014年第五届真题-分糖果题解 摘要:1.解题思路第一步:看一下所有的数是不是相等,如果是,flag=1,否则,flag=0第二步:全体减半第三步:所有的数都加上左边的数,相当于把左边数的一半给了这个数第四步:判断奇偶,如果是奇数,则这个…… 题解列表 2023年07月01日 0 点赞 0 评论 212 浏览 评分:0.0
第一个HelloWorld程序 摘要:解题思路:构造函数注意事项:调用函数参考代码:、public static void main(String[] args) { sc(); System.out.println("Hel…… 题解列表 2023年07月01日 0 点赞 0 评论 284 浏览 评分:0.0
三个数最大值 摘要:解题思路:打擂台注意事项: 注意判断参考代码:public static void main(String[] args) { Scanner scanner = new Scanner(Sys…… 题解列表 2023年07月01日 0 点赞 0 评论 236 浏览 评分:0.0
C++代码进行解题,思路可与C语言共享 摘要:解题思路:就是每行数组减一注意事项:行与列之间的差值我用了d与k表示参考代码:#include <iostream>using namespace std;int main(){ int N; wh…… 题解列表 2023年07月01日 0 点赞 0 评论 210 浏览 评分:0.0
奇偶数之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a=0,b=0; cin>>n; …… 题解列表 2023年07月01日 0 点赞 0 评论 229 浏览 评分:0.0
超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"<…… 题解列表 2023年07月01日 0 点赞 0 评论 257 浏览 评分:0.0
没用递归,4ms解决 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdbool.h>int cow_nn(int n){ int cow[55]; cow[0] = …… 题解列表 2023年07月01日 0 点赞 0 评论 162 浏览 评分:0.0
求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0,age; cin>>n…… 题解列表 2023年07月01日 0 点赞 0 评论 239 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,age,sum=0 ; cin>>…… 题解列表 2023年07月01日 0 点赞 0 评论 357 浏览 评分:0.0