Skip to content

Instantly share code, notes, and snippets.

View KiJeong-Lim's full-sized avatar

임기정 KiJeong-Lim

View GitHub Profile
@KiJeong-Lim
KiJeong-Lim / main.cpp
Last active November 21, 2021 15:12
QVE THE FVCK
#include <cstdlib>
#include "prettyprinter.hpp"
int main()
{
using namespace std;
PPrinter printer1 = PPrinter::ostream<2, 16>();
PPrinter printer2 = PPrinter::ostream<2, 16>();
module Main where
import Control.Monad
import Data.IORef
import qualified Data.Set as Set
type Point = (Integer, Integer)
type Wire = UPair Point
module Main where
import System.IO
infixl 1 <<
class OStream os where
mkOStream :: os -> IO Handle
class OStreamObject a where
#include <stdio.h>
#include <stdlib.h>
#define VM 30000
void solve13558(void)
{ typedef long long unsigned int llu_t;
typedef short int val_t;
int count_vi[VM], count_vk[VM];
val_t ary[100000];
llu_t res = 0;
From Coq.Bool Require Export Bool.
From Coq.micromega Require Export Lia.
From Coq.Lists Require Export List.
From Coq.Arith Require Export PeanoNat.
From Coq.Strings Require Export String.
Module Goedel's_Incompleteness_Theorem.
Import ListNotations.
From Coq.Bool Require Export Bool.
From Coq.micromega Require Export Lia.
From Coq.Lists Require Export List.
From Coq.Arith Require Export PeanoNat.
Module AuxiliaPalatina.
Import ListNotations.
Section forNat.
@KiJeong-Lim
KiJeong-Lim / kwon.hs
Last active April 7, 2021 09:21
Strumian words and Cantor sets arising from unique expansions over ternary alphabets
module Main where
import Control.Monad
import Data.Ratio
import Numeric.RootFinding
infix 7 <.>
at :: [a] -> Int -> a
list `at` index
@KiJeong-Lim
KiJeong-Lim / Alge.v
Last active April 24, 2021 04:43
Algebra
From Coq Require Export Bool.
From Coq Require Export PeanoNat.
From Coq Require Export Peano_dec.
From Coq Require Export List.
Module MyGroup.
Section ClassDefns.
Class Magma (G : Type) (plus : G -> G -> G) : Type :=
module Main where
type Row = Int
type Col = Int
type Load = Double
type Deflection = Double
@KiJeong-Lim
KiJeong-Lim / hs01.hs
Last active April 6, 2021 02:53
깃헙갤 과제 풀이들
{- https://gall.dcinside.com/mgallery/board/view/?id=github&no=14646 -}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Main where
import Data.Char
import System.Random
import Test.QuickCheck hiding ((.&.))
newtype BigChar
= Big Char