题解列表
标准 A+B for Input-Output Practice (IV)
摘要:解题思路:用数组存放每次结果,再依次输出。注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int i=0; int……
题解 1234: 检查一个数是否为质数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<=……
1075: 台球碰撞(绝对牛逼!!!)
摘要:解题思路:注意事项:解析请看这里: https://blog.dotcpp.com/a/63859参考代码:#include <iostream>#include <cmath>#include <……
1147: C语言训练-角谷猜想
摘要:参考代码:n = int(input())
while n != 1:
n = int(n)
if n % 2 == 0:
print(f"{n}/2={int……
1332: 津津的储蓄计划
摘要:参考代码:estimate = [int(input()) for i in range(12)] #预算
amount = 0 #零花钱
bank = []
flag = True……
【C语言题解/归并排序】编写题解 1674: 数据结构-有序线性表的有序合并
摘要:```
#include
#include
typedef struct Union{
int data;
struct Union* next;
}*node,Node;
//……
蓝桥杯2022年第十三届省赛真题-刷题统计
摘要:解题思路:先把能够算出整数个周期的week算出来,剩下的用求模和除法注意事项:参考代码:#include<stdio.h>int main(){ long long int a,b,n,week,nu……
蓝桥杯算法提高VIP-剪刀石头布题解(c语言)最快
摘要:解题思路:通过做差确定谁输谁赢注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a=……