不是吧不是吧这也看? 摘要:解题思路:把手拿出来注意事项:睁开眼睛参考代码:package com.itheima;import java.util.Scanner;public class Text28 { public st…… 题解列表 2021年12月17日 0 点赞 0 评论 462 浏览 评分:0.0
贷款计算而已嘛 摘要:解题思路:全放在最后输出的时候就好了注意事项:最后输出的时候要是int参考代码:package com.itheima;import java.util.Scanner;public class Te…… 题解列表 2021年12月17日 0 点赞 0 评论 308 浏览 评分:0.0
话费计算Java超简单 摘要:解题思路:直接多少分中乘一下0.4就好了,他自己会加小数的注意事项:不要想麻烦了参考代码:package com.itheima;import java.util.Scanner;public cla…… 题解列表 2021年12月17日 0 点赞 0 评论 699 浏览 评分:0.0
使用函数的定义和调用 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int x=0,y;void cst();/* run this program using…… 题解列表 2021年12月17日 0 点赞 0 评论 252 浏览 评分:0.0
【出圈】-另类简单解法 摘要:解题思路: 在数组中将所有人从1到n编号,报数到的第b个人出圈(对其赋大值然后sort),始终在n+1-b个人中报数参考代码: 1 #include<iostream>…… 题解列表 2021年12月17日 0 点赞 0 评论 295 浏览 评分:9.9
1136: C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:#include<bits/stdc++.h> using namespace std; int main(){ string s,s1,s2; for(int i=10…… 题解列表 2021年12月17日 0 点赞 0 评论 326 浏览 评分:0.0
盾神与积木游戏 结构体与优先队列 摘要: #### 利用优先队列的自动排序,将每个人按照需要的积木数量排序,在获取数据时若持有数大于目标数则不将其塞进优先队列里面。 ##### 用while循环判断遍历优先队列里面的最小所需数是否小于总…… 题解列表 2021年12月17日 0 点赞 0 评论 674 浏览 评分:9.9
1022: [编程入门]筛选N以内的素数 摘要:解题思路:素数指在一个大于1的自然数中,除了1和此整数自身外,没法被其他自然数整除的数参考代码:#includeint main(){ int n,flag=1; scanf("%d",&…… 题解列表 2021年12月16日 0 点赞 0 评论 375 浏览 评分:9.9
1009: [编程入门]数字的处理与判断 摘要:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[5]; scanf("%s",str); int len…… 题解列表 2021年12月16日 0 点赞 0 评论 323 浏览 评分:0.0
字符串解题,代码简短简单 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str; getline(cin,…… 题解列表 2021年12月16日 0 点赞 0 评论 634 浏览 评分:0.0