~~~~~~~~~~~~~~~可爱的津津乐道+++++++++++ 摘要:解题思路://通过数组来存放数据,然后再拿来比较注意事项://如何判断那一天最不高兴参考代码:#include<stdio.h> int main() { int a[8]={[0]=0…… 题解列表 2024年07月30日 0 点赞 0 评论 364 浏览 评分:9.9
++++++++++++++++++++ 0基础学IT就来黑喵程序员之向量点积的计算 +++++++++++++++++++++ 摘要:解题思路:注意事项://x轴与y轴的方向选取参考代码:#include<stdio.h> int main() { int n; scanf("%d", &n); i…… 题解列表 2024年07月30日 0 点赞 0 评论 500 浏览 评分:9.9
数据结构-有序线性表的有序合并(C语言,只用30行) 摘要:```c #include #include int link(int a[],int n); int link(int a[],int n){//该函数是用来将数组数据存入的 …… 题解列表 2024年07月31日 2 点赞 0 评论 786 浏览 评分:9.9
1673: 数据结构-集合union(结构体数组解决) 摘要:本题需要看清楚题目给的输入和输出。 题目的输入为 **5 1 5 2 6 3 3 1 7 9 1 3 2 2 7 4 2 5 1 4 4 1 2 4 5** 输出为 **1 5 2 …… 题解列表 2024年07月31日 0 点赞 0 评论 668 浏览 评分:9.9
————派大星的极致运算————————之整数去重复&m 摘要:解题思路://1号数组存放读入数据 //2号数组存放不重复数组 //通过循环遍历进行比较看是否有重复注意事项://无参考代码:#includeint main() { int n; …… 题解列表 2024年07月31日 0 点赞 0 评论 442 浏览 评分:9.9
2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:注意事项:参考代码:import mathdef is_qurt(n): flag = True for i in range(2,int(math.sqrt(n))+1): …… 题解列表 2024年07月31日 0 点赞 0 评论 646 浏览 评分:9.9
最短代码解决奇偶数之和 摘要:解题思路:使用求和公式。偶数求和公式为(n / 2) * (n / 2 + 1),奇数求和公式为(n / 2) * (n / 2)或(n / 2) * (n / 2)+n。注意事项:奇数和与偶数和求和…… 题解列表 2024年07月31日 0 点赞 0 评论 312 浏览 评分:9.9
1121: C语言训练-8除不尽的数 摘要:```cpp #include using namespace std; int n,a; int zrs(){ for(int i=0;;i++){ a=i/8/8/8; i…… 题解列表 2024年07月31日 0 点赞 0 评论 337 浏览 评分:9.9
2839:石头剪刀布 摘要:解题思路:注意事项:参考代码:n,a,b=map(int,input().strip().split())la = list(input().split())lb = list(input().spl…… 题解列表 2024年07月31日 0 点赞 0 评论 507 浏览 评分:9.9
A+B for Input-Output Practice (III) C语言代码 摘要:#include<stdio.h>int main(void){ int i, a, b, j; scanf("%d %d", &a, &b); while (!(…… 题解列表 2024年07月31日 0 点赞 0 评论 463 浏览 评分:9.9