This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include "prettyprinter.hpp" | |
int main() | |
{ | |
using namespace std; | |
PPrinter printer1 = PPrinter::ostream<2, 16>(); | |
PPrinter printer2 = PPrinter::ostream<2, 16>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Control.Monad | |
import Data.IORef | |
import qualified Data.Set as Set | |
type Point = (Integer, Integer) | |
type Wire = UPair Point |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import System.IO | |
infixl 1 << | |
class OStream os where | |
mkOStream :: os -> IO Handle | |
class OStreamObject a where |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Control.Monad | |
import Data.Ratio | |
import Numeric.RootFinding | |
infix 7 <.> | |
at :: [a] -> Int -> a | |
list `at` index |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 := |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
type Row = Int | |
type Col = Int | |
type Load = Double | |
type Deflection = Double |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- 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 |