发布时间:2022-04-12 11:20:31
#include <iostream.h>int main(){int i;scanf("%x",&i);printf("%d",i);return 0;}
这个就可以,%x是控制16进制输入