标签:style io ar sp c on 代码 amp r
代码:
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int n;
// 函数scanf中的*,当被用于%与转换说明符之间时,表示跳过相应的输入项目
scanf("%*d %*d %d", &n);
printf("%d\n", n);
return EXIT_SUCCESS;
}
输入:
100 200 300
输出:
300
标签:style io ar sp c on 代码 amp r
原文地址:http://my.oschina.net/Xwoder/blog/324176