Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 C++ 中有没有替代 X.nextInt() 和 X.nextCahr() 等的机制?它允许从输入中获取由空格字符(空格、制表符和换行符)分隔的整数。
int k, l, m, n; cin >> k >> l >> m >> n;