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