<jupyter_start><jupyter_text><jupyter_code>%%writefile rombito.cpp
#include <iostream>
#include <iomanip>

using namespace std;

void mover(int n) {
	if (n > 0) {
		cout << " ";
		mover(n - 1);
	}
}

void dibujarH(int n, int b) { 
	if (n > 0) {		
		dibujarH(n - 1, b);
		cout << b << " ";
	}
}

void dibujarV(int n, int b) {
	if (n > 0) {
		dibujarV(n - 1, b - 1);
		mover(20 - n);
		dibujarH(n, b);
        cout << endl;
	}
}
void dibujarV1(int n, int b) {
	if (n > 0) {
		mover(21 - n);
		dibujarH(n - 1, b - 1);
        cout << endl;
		dibujarV1(n - 1, b - 1);
	}
}

int main() {

	dibujarV(5, 5);
	dibujarV1(5, 5);

	return 0;

}
%%script bash
g++ rombito.cpp && ./a.out<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.19744318181818182, 'fraction_numerical': 0.03409090909090909, 'mean_word_length': 2.5786802030456855, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '429769', 'license': 'CC0-1.0', 'n_tokens_mistral': 395, 'n_tokens_neox': 359, 'n_words': 82, 'path': '20202/aed_20202_0203_recursive_diamond.ipynb', 'repo_name': 'pcsilcan/aed', 'size': '704'}