Main.cc:1:14: warning: character constant too long for its type n=int(input('输入一个整数')) ^ Main.cc:1:2: error: 'n' does not name a type n=int(input('输入一个整数')) ^