#include <iostream> using namespace std; int main() { int a=1234; printf("0%o 0X%X",a,a); } // 64 位输出请用 printf("%lld")