题解列表
3029: 逆波兰表达式
摘要:```cpp
#include
#include
using namespace std;
double func()
{
char ch[100];
(cin>>ch)……
就是比较简单的递推 有标注 应该可以看懂
摘要:解题思路:注意事项:参考代码:#includeusing namespace std;long long n,k;long long f1(long long n,long long k)//一般用l……
时间超限来看 有注释!!!
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,num,a[10001]; int f1(int n){ if(a[n]……
虽然简单但是注意的问题多
摘要:解题思路:看到这题,直接数组加for语句,max,min值比较就行注意事项:max,min的定义顺序很重要,你要是直接定义max,min各自=0,代入其他的数(非零的),就错误了。须得把max,min……
二级C语言-公约公倍(水题)
摘要:解题思路:注意事项:参考代码#include <stdio.h>int gcd(int x,int y){ int r; r=x%y; do{ x=y; y=r; r=x%y; }while(r……
直接提交,不用任何操作
摘要:当你点开这个题目,你就可以提交了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。……
2908: 白细胞计数
摘要:```cpp
#include
#include
#include
using namespace std;
int main()
{
int n;
float num……
2760: 整型与布尔型的转换
摘要:```cpp
#include
using namespace std;
int main()
{
int a;
bool b;
cin>>a;
b=a……