优质题解 信息学奥赛一本通T1616-A 的 B 次方(C++代码) 摘要:解法一:最朴素的方法,直接循环b次,求出ab的结果,最后对c取模#include using namespace std; int main() { int a,b,c,ans = 1; …… 题解列表 2021年05月08日 1 点赞 0 评论 1715 浏览 评分:10.0
[编程入门]自定义函数之数字分离-Java-超笨方法-4个syso : ) 摘要:解题思路:注意事项:参考代码:Scanner in = new Scanner(System.in); int a = in.nextInt(); System.out.print(a/1000+…… 题解列表 2021年05月19日 1 点赞 0 评论 796 浏览 评分:10.0
蓝桥杯2018年第九届真题-三体攻击 题解 摘要:解题思路:有手就行注意事项:不要超时参考代码:#pragma GCC optimize(2) #include<bits/stdc++.h> using namespace std; typed…… 题解列表 2021年08月09日 1 点赞 1 评论 1660 浏览 评分:10.0
蓝桥杯算法训练VIP-JAM计数法(全排列解法) 摘要:参考代码:#include <cstdio> #include <cstdlib> using namespace std; const char M[] = " abcdefghijklmno…… 题解列表 2021年08月27日 0 点赞 1 评论 613 浏览 评分:10.0
#三位数的排序 摘要:解题思路:求出max,min,middle,在进行排序注意事项:基础知识的应用参考代码:#include<stdio.h>int main(){ int a,b,c,max,min,middle; s…… 题解列表 2021年11月04日 0 点赞 0 评论 691 浏览 评分:10.0
比较容易理解的类型 摘要:解题思路:注意事项:参考代码:ls=[input().split(), input().split(), input().split()] sum1=sum2=0 for i in range(3…… 题解列表 2021年11月25日 1 点赞 2 评论 1388 浏览 评分:10.0
简单易懂极少代码 摘要:解题思路:有没有朋友来解释下我的解题思路呢 注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,j,n,a[100][100…… 题解列表 2021年12月08日 1 点赞 0 评论 874 浏览 评分:10.0
1716: 数据结构-快速排序-C语言 摘要:```c //快速排序 #include #include void quicksort(int a[], int first, int end); int partition(in…… 题解列表 2021年12月24日 0 点赞 0 评论 939 浏览 评分:10.0
题解 1389: 程序员的表白(python代码) 摘要:while True: try: num = int(input()) for i in range(num):   题解列表 2021年12月24日 1 点赞 0 评论 939 浏览 评分:10.0
上车人数(虽然不是自己做出来的,但是能看懂别人的代码,从而读懂弄通,进行一次精简优化,也是一项进步,难道不是吗?) 摘要:```c #include int onbus(int n,int *l ,int c) // 车上总人数,n对应于x(第x站),*l对应于gobus的地址,实参a传入c中 { if…… 题解列表 2021年12月27日 1 点赞 0 评论 545 浏览 评分:10.0