This commit is contained in:
2025-09-15 21:12:04 +08:00
commit 3f58f483ff
144 changed files with 5298 additions and 0 deletions

26
we/24-1.h Normal file
View File

@@ -0,0 +1,26 @@
#include <math.h>
int getN(long int a){
int ret = 0;
while (a)
{
ret++;
a/=10;
}
return ret;
}
long int findMO(long int a){
int ret = 0;
int i = 0;
int n = getN(a);
while(a!=0){
int div = pow(10,n--);
int temp = a/div;
a%=div;
if(temp%2 == 1){
ret += temp*(int)pow(10,i++);
}
}
return ret;
}