#include <stdio.h> int main() { int a,b,c; scanf("%d %d %d",&a,&b,&c);//空格在 scanf 中会被自动跳过,所以你可以不写任何分隔符。 //当然,也可以如代码中所示 printf("%d\n",b); return 0; }