JiaHeng-DLUT
9/14/2019 - 7:28 AM

scanf()

scanf("%c");: ignore a character and often used to pass the line break character.

#include <cstdio>

int main() {
	int a, b;
	scanf("%d %*d %d", &a, &b);	// 123 456 789
	printf("%d %d\n", a, b);	// 123 789
	return 0;
}