use std::borrow::ToOwned;
use std::collections::{HashMap, HashSet};
use std::fmt::Write;
use std::io::BufRead;
use std::iter::Iterator;
const TALLY_FONT: &str = "BabelStone Han";
fn tally_marks(n: usize, mark: Option<&str>) -> HTML {
HTML(match mark {
None => {
let fives = { 0..n / 5 }.map(|_| 'πΈ');
let ones = { 0..n % 5 }.map(|_| 'π·');
let marks: String = fives.chain(ones).collect();
format!("{marks}")
}
Some(m) => { 0..n }.map(|_| m).collect(),
})
}
#[derive(PartialEq, Eq, Debug)]
struct Config {
column_threshold: usize,
static_columns: Vec