Skip to content

Instantly share code, notes, and snippets.

%missing = 19
#const n = 250.
digit(0,1;1,5;2,3;3,2;4,8;5,8;6,1;7,6;8,6;9,4;10,8;11,1;12,9;13,1;14,2;15,1;16,9;17,3;18,7;19,1;20,7;21,8;22,5;23,1;24,1;25,8;26,9;27,4;28,6;29,9;30,8;31,3;32,2;33,5;34,3;35,1;36,8;37,1;38,6;39,1;40,6;41,9;42,2;43,4;44,8;45,1;46,6;47,2;48,7;49,1;50,1;51,7;52,6;53,1;54,7;55,4;56,1;57,7;58,1;59,2;60,1;61,7;62,3;63,5;64,2;65,4;66,3;67,2;68,3;69,9;70,6;71,1;72,3;73,8;74,2;75,4;76,4;77,1;78,6;79,4;80,2;81,2;82,7;83,1;84,6;85,7;86,8;87,7;88,7;89,9;90,7;91,2;92,1;93,5;94,8;95,1;96,2;97,4;98,1;99,9;100,7;101,1;102,3;103,2;104,8;105,2;106,4;107,4;108,1;109,9;110,3;111,7;112,3;113,2;114,4;115,5;116,9;117,4;118,4;119,5;120,1;121,8;122,3;123,1;124,6;125,9;126,1;127,3;128,3;129,2;130,3;131,2;132,1;133,9;134,2;135,2;136,2;137,5;138,7;139,5;140,7;141,2;142,5;143,1;144,1;145,8;146,1;147,1;148,2;149,1;150,5;151,6;152,1;153,1;154,4;155,1;156,4;157,7;158,1;159,6;160,6;161,6;162,8;163,2;164,4;165,9;166,2;167,1;168,8;169,2;170,4;171,1;172,1;173,4;174,5;175,1;176,6;177,5;178,1;179,5;180,9;181,4;182,1;
@politza
politza / missing.txt
Created December 9, 2017 00:17
Missing instance
# See https://codegolf.stackexchange.com/questions/150000/the-missing-number-revised
# Size: 250
# Missing: 231 (may not be unique)
# Comment: All numbers containing a 0 in ascending numerical order followed by
# all others in descending one.
0102030405060708090100101102103104105106107108109110120130140150160170180190200201202203204205206207208209210220230240249248247246245244243242241239238237236235234233232229228227226225224223222221219218217216215214213212211199198197196195194193192191189188187186185184183182181179178177176175174173172171169168167166165164163162161159158157156155154153152151149148147146145144143142141139138137136135134133132131129128127126125124123122121119118117116115114113112111999897969594939291898887868584838281797877767574737271696867666564636261595857565554535251494847464544434241393837363534333231292827262524232221191817161514131211987654321
@politza
politza / scroll-other-window.el
Created July 3, 2016 08:22
scroll-other-window.el
;;; sow.el --- Variable commands for scrolling the other window.
;; Copyright (C) 2016 Andreas Politz
;; Author: Andreas Politz <[email protected]>
;; Keywords: extensions, frames
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; -*- lexical-binding: t -*-
(defun pdf-isearch-hl-matches (current matches &optional occur-hack-p)
"Highlighting edges CURRENT and MATCHES."
(cl-check-type current pdf-isearch-match)
(cl-check-type matches (list-of pdf-isearch-match))
(cl-destructuring-bind (fg1 bg1 fg2 bg2)
(pdf-isearch-current-colors)
(let* ((width (car (pdf-view-image-size)))
(page (pdf-view-current-page))
(window (selected-window))
diff --git a/lisp/pdf-misc.el b/lisp/pdf-misc.el
index 4aedf47..26a194a 100644
--- a/lisp/pdf-misc.el
+++ b/lisp/pdf-misc.el
@@ -201,6 +201,93 @@
(display-buffer (current-buffer)))
md))
+
+;; * ================================================================== *