#include <stdio.h> int main() { int a = 1234; printf("%#o ",a); //注意这边题目有要求需要空格 printf("%#X",a); return 0; }