Update: Rename folder name to XSMOJ

This commit is contained in:
2025-02-14 02:44:20 +00:00
parent 394e431a4a
commit c8863a5850
243 changed files with 11 additions and 39 deletions

View File

@ -0,0 +1,34 @@
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <cstring>
#include <cstdio>
#include <stack>
#include <ctime>
#include <cmath>
#include <queue>
typedef long long l;
typedef double d;
typedef char c;
using namespace std;
void wjh(int a,int b){
if(a<=0){
return;
}
char x;
wjh(a/b,b);
if(a%b>=10){
x=a%b+55;
cout <<x;
}
else{
x=a%b+48;
cout <<x;
}
}
int main(){
int a,b;
cin >>a>>b;
wjh(a,b);
return 0;
}