信息学奥赛一本通T1616-A 的 B 次方 摘要:参考代码:#include <stdio.h> // 快速幂实现 long long int mod_exp(long long int a, long long int b, long long…… 题解列表 2024年11月18日 0 点赞 0 评论 123 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2024年11月18日 0 点赞 0 评论 129 浏览 评分:0.0
不懂评论简化 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split())) for i in range(5): a[i]//=3 up=4 if(i==0)…… 题解列表 2024年11月18日 0 点赞 0 评论 120 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); while(a!=1) { …… 题解列表 2024年11月18日 0 点赞 0 评论 159 浏览 评分:0.0
直接写就得了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; double t=0; scanf("%d",&a); for(b=1…… 题解列表 2024年11月18日 0 点赞 0 评论 142 浏览 评分:0.0
直接写就得了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n,c=1; scanf("%d",&n); for(a=1;a<=n;a++) …… 题解列表 2024年11月18日 0 点赞 0 评论 181 浏览 评分:0.0
最高的分数题解 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<vector> //vector头文件 using namespace std; int max(…… 题解列表 2024年11月19日 0 点赞 0 评论 119 浏览 评分:0.0
详细解释,成为高手第一步 摘要:解题思路:注意事项:参考代码:#include <stdio.h> //这是引入标准输入输出库,因为我们要使用 scanf 和 printf 函数。int main() { …… 题解列表 2024年11月19日 5 点赞 0 评论 643 浏览 评分:0.0
信息学奥赛一本通T1314-过河卒 动态规划 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量,包括矩阵大小、中心点坐标和计数器 int n, m, …… 题解列表 2024年11月19日 0 点赞 0 评论 324 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d",&a); for(b=2;b<=a;b++) …… 题解列表 2024年11月19日 0 点赞 0 评论 509 浏览 评分:0.0