leomotors / stupid-problems

Problem Statements of Problems I wrote. Monorepo for building statements, web and generating testcase

Home Page:https://leomotors.github.io/stupid-problems/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stupid Problems

Problem Statements of Problems I wrote

Fun Fact: I have not write Vanilla JS for quite a long time (9 months to be exact) since abandoned Website Vector Calculator

Stupid Problems Monorepo System

This monorepo consists of 3 part

  • src - Test Case Generator
  • statements - Statements in TeX
  • web - Web Template (Compiled to dist-web and Deploy to GitHub Pages)

➡️ Scripts

yarn build <target>

Build target, this build system is powered by TypeScript

  • statements - Building Statements

  • web - Building Web Dist from template

  • gen - Compile test case generator and solution that are written in C++

  • cross - For cross checking

yarn problem

Generate test case and solution with help of Python

yarn install-problem

Install problem to given location

🙇‍♂️ Credits

aquagenlib.h by Senior at IPST Camp, passed down to juniors.

LaTeX Template forwarded from my friends, so I don't know where it comes from from programming-in-th/statements Note that LaTex Template in this repositories is modified from original

Notes

Testcase generated from here is target directly to be compatible with cocoa-grader

To develop locally

  • Install TeXLive (not sure which version, if error install bigger version, I do texlive-full)

  • To compile statement with Thai Language, font Sarabun must exists in the system

  • nodejs 16+ is recommended

About

Problem Statements of Problems I wrote. Monorepo for building statements, web and generating testcase

https://leomotors.github.io/stupid-problems/

License:MIT License


Languages

Language:C++ 51.1%Language:TeX 22.4%Language:Python 11.0%Language:TypeScript 7.8%Language:C 4.3%Language:HTML 1.1%Language:CSS 0.9%Language:Shell 0.8%Language:JavaScript 0.7%