C++程序:将小球放回墙上空洞
#include
void num(int n) { for (int i = 1; i <= n; i++) { cout << i << ' '; } cout << endl; }
int main() { int n; cin >> n; for (int i = 1; i <= n; i++) { num(i); } return 0; }
原文地址: https://www.cveoy.top/t/topic/qaAE 著作权归作者所有。请勿转载和采集!