[编程基础]输入输出练习之输出图案java解决 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月15日 0 点赞 0 评论 187 浏览 评分:0.0
1017: [编程入门]完数的判断 摘要:解题思路:注意事项:注意时间不能超出参考代码:n = int(input())for i in range(6, n + 1): l = [1] for j in range(2, int…… 题解列表 2024年01月15日 0 点赞 0 评论 197 浏览 评分:0.0
用数组很简单 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#pragma warning(disable:6031)#include<stdio.h>int main…… 题解列表 2024年01月15日 0 点赞 0 评论 374 浏览 评分:0.0
1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:注意两个数据是一次输入还是分两次输入参考代码:a = list(map(int, input().split()))if len(a) < 2: a.append(int(…… 题解列表 2024年01月15日 0 点赞 0 评论 223 浏览 评分:0.0
简单最大数 摘要:解题思路:注意事项:参考代码://#define _CRT_SECURE_NO_WARNINGS//#pragma warning(disable:6031)#include<iostream>usi…… 题解列表 2024年01月15日 0 点赞 0 评论 451 浏览 评分:0.0
java实现扫雷,利用炸弹位置进行计算 摘要:解题思路:利用炸弹位置来计算,先把炸弹的坐标存list里,然后再计算炸弹周围的数量,++即可注意事项:计算数量的时候要注意判断位置的时候,要先判断位置合理性,然后判断不可在自己的位置参考代码:impo…… 题解列表 2024年01月15日 0 点赞 0 评论 224 浏览 评分:0.0
题解 3013: 求小数的某一位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,n,c; cin>>a>>b>…… 题解列表 2024年01月16日 0 点赞 0 评论 138 浏览 评分:0.0
题解 3013: 求小数的某一位 摘要:解题思路:用for循环来模拟除法的过程注意事项:注意:本题不需要浮点型,用sum累加器存储商,最后输出 。 …… 题解列表 2024年01月16日 0 点赞 0 评论 102 浏览 评分:0.0
3013: 求小数的某一位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,b,n,c; cin>…… 题解列表 2024年01月16日 0 点赞 0 评论 128 浏览 评分:0.0
题解 2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a; cin>>a; …… 题解列表 2024年01月16日 0 点赞 0 评论 141 浏览 评分:0.0