题解列表
2913: 整数去重
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using……
1231: 杨辉三角 简洁 可读性高
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>usingnamespacestd;in……
1807: [编程基础]输入输出练习之格式控制
摘要:注意事项:每个字符都要占八个位置参考代码:#include<stdio.h>intmain(){inta,b,c;&……
2799: 奥运奖牌计数
摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n; int a……
2798: 整数序列的元素最大跨度值
摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n,maxx= -1e18 ,minn=1……
C语言和C++两种写法
摘要:###C语言 无封装#include<stdio.h>#define MAX 100;int main(){ int i,j; int ……
编写题解 3106: 最优乘车(travel)
摘要:C++代码:```cpp#include #include #include #include using namespace std;const int INF=0x3f……
求10000以内n的阶乘
摘要:解题思路:注意事项:Python默认限制了可以转换为字符串的整数的最大位数为4300位。由于10000的阶乘远大于这个限制,因此抛出了ValueError。参考代码:import mathimport……