#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
scanf("%x",&n);
printf("%u",n);
return 0;
}
如果不让用<bits/stdc++.h>岂不是很难受???
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
scanf("%x",&n);
printf("%u",n);
return 0;
}
如果不让用<bits/stdc++.h>岂不是很难受???