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
| $ cat 6.in | |
| AABBBC | |
| ADEFGC | |
| HDEFGI | |
| HJ4KKI | |
| LJMNOI | |
| LMMNO2 | |
| A * 40 | |
| B + 6 | |
| C - 5 |
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
| g_LastCtrlKeyDownTime := 0 | |
| g_AbortSendEsc := false | |
| g_ControlRepeatDetected := false | |
| *CapsLock:: | |
| if (g_ControlRepeatDetected) | |
| { | |
| return | |
| } |
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
| -- pragmas {{{ | |
| -- {-# LANGUAGE DataKinds #-} | |
| -- {-# LANGUAGE FlexibleContexts #-} | |
| -- {-# LANGUAGE TemplateHaskell #-} | |
| -- }}} | |
| module Main where | |
| -- gcj imports {{{ | |
| import Control.Monad | |
| import Data.Bifunctor | |
| import Data.Bool |
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
| >>> a = [1,2,3] | |
| >>> b = a | |
| >>> a = a.append(9) | |
| # what are the values of a and b? |
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
| export PS1="[ \t \h:\w ]\n\! \$ " | |
| export PATH="$HOME/Library/Haskell/bin:$PATH" |
NewerOlder