Skip to content

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

License

Notifications You must be signed in to change notification settings

leomotors/stupid-problems

Repository files navigation

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