Signed-off-by: 10-4 <10-4@sairate.fun>

This commit is contained in:
10-4 2024-07-17 15:03:50 +08:00
parent 3d5832b39f
commit 536db94219
7 changed files with 24 additions and 0 deletions

8
三位数交换.cpp Normal file
View File

@ -0,0 +1,8 @@
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
cout<<(n%10)<<(n/10%10)<<(n/100);
return 0;
}

BIN
三位数交换.exe Normal file

Binary file not shown.

8
两位数交换 .cpp Normal file
View File

@ -0,0 +1,8 @@
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
cout<<(n%10)+(n/10%10)+(n/100);
return 0;
}

BIN
两位数交换 .exe Normal file

Binary file not shown.

8
小杨买书.cpp Normal file
View File

@ -0,0 +1,8 @@
#include<iostream>
using namespace std;
int main(){
int m;
cin>>m;
cout<<m/13<<" "<<m%13;
return 0;
}

BIN
小杨买书.exe Normal file

Binary file not shown.

0
王只因.txt Normal file
View File