我自己写的,肯定有不足的地方,还请各位大佬们指教
#include<iostream>
using namespace std;
int main()
{
int n,i,j,a=0,b;
cin >> n;
for (i=2; i < n; i++)
{
for (int j = 1; j < i; j++)
if (i % j == 0)
a = a + j;
if (a == i)
{...
我自己写的,肯定有不足的地方,还请各位大佬们指教
#include<iostream>
#include<string.h>
#include <string>
using namespace std;
int main()
{
char w[100];
cin.getline(w,100);//输入一整行包括空格
//置换
int start = 0;
int end = strlen(w)-1;
for (int temp;start<=end;)
{
temp = w[start]...
游戏内计算器
发送命令/calc <表达式>即可求值,支持三角函数等
Calculator
In-game calculator for MCBDS based on LiteLoaderBDS
Thanks
Third-party Library Used
CMathParser LGPL-3.0
Submodule
LiteLoaderSDK(./SDK/) GPL-3.0
Usage
Installation
Download plugin from Releases
Move the plugin to [Your BDS&LL Root...