This commit is contained in:
HuangHai
2025-08-30 18:35:01 +08:00
commit 1f397eca87
6258 changed files with 1487241 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

View File

@@ -0,0 +1,13 @@
#include <iostream>
using namespace std;
int main()
{
int a,b;
cout<<"a,b=";
cin>>a>>b;
if(a=b) cout<<a;
else cout<<"Unequal";
return 0;
}

View File

@@ -0,0 +1,23 @@
#include<iostream>
using namespace std;
int main()
{
int a,b,c=0,d=0;
cout<<"a,b=";
cin>>a>>b;
if(a>b)
//<2F><>һ<EFBFBD><D2BB>
// {
// c=a/b;
// d=a%b;
// }
//<2F>ڶ<EFBFBD><DAB6><EFBFBD>
c=a/b;
d=a%b;
cout<<c+d;
return 0;
}

View File

@@ -0,0 +1,13 @@
#include <iostream>
using namespace std;
int main() {
int n;
cin>>n;
int x,y,z;
x=n/100;
y=(n/10)%10;
z=n%10;
if (n==x*x*x+y*y*y+z*z*z) cout<<"YES";
else cout<<"NO";
return 0;
}

View File

@@ -0,0 +1,14 @@
#include<iostream>
using namespace std;
int main() {
for(int n=100; n<1000; n++) {
int x,y,z;
x=n/100;
y=(n/10)%10;
z=n%10;
if (n==x*x*x+y*y*y+z*z*z) cout<<n<<endl;
}
return 0;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB