Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. =
  2. g
  3. 7
  4. m+y "g
  5. L ~
  6. e> PHq
  7.  
  8. 1234
  9. a b cd
  10. ZYXWV
  11. !
  12. {} [ ]
  13. ?
  14.  
  15. L _
  16. { _
  17. _ }
  18. _ p
  19.  
  20. { _
  21. _ }
  22. { _
  23. _ }
  24.  
  25. { _
  26. _ }
  27.  
  28. L ~
  29. { _
  30. p }
  31. _ ~
  32.  
  33. { _
  34. p }
  35. { _
  36. p }
  37.  
  38. { _
  39. p }
  40.  
  41. for$i(
  42. 1..56 )
  43. {$_= $i
  44. %8? $i%
  45. 7? $":7
  46. : $/;1;
  47. print}
  48.  
  49. 7
  50. 7
  51. 7
  52. 7
  53. 7
  54. 7
  55. 7
  56.  
  57. 6,
  58. SS +
  59. * 4/
  60. N*
  61.  
  62. 0 1
  63. 2
  64. 3
  65. 4 5
  66.  
  67. 4a4
  68. * 4S
  69. ** 4
  70. /N*
  71.  
  72. 4
  73. 4
  74. 4
  75. 4
  76.  
  77. ....@0..@1....
  78. @3..0A08..@2 ..
  79. /--....>1 ..Hp
  80. ..@2..\ =0@3..
  81. ss..// --\\..
  82. @0/ @1/Hp..!!
  83. :s #the-cake-is
  84. 2020#a-pie/lie
  85.  
  86. 07
  87. 06
  88. 05
  89. 04
  90. 03
  91. 02
  92. 01
  93. 01
  94.  
  95. 1 11
  96. 1111
  97. 1111
  98. 111 1
  99. 1111
  100. 1
  101. 1 1
  102. 11
  103. 11
  104. 11
  105. 1 11
  106.  
  107. print(
  108. '%+7s'
  109. 'n'%1
  110. *6+'%'
  111. '-7s'%
  112. 111111
  113. )
  114.  
  115. 1
  116. 1
  117. 1
  118. 1
  119. 1
  120. 1
  121. 111111
  122.  
  123. i=9;q=""
  124. ; for(;++
  125. i< 91;){;
  126. var q=q+(
  127. !(i% 10.0
  128. )?1:" ");
  129. ;i%9|| (q
  130. +="n") }
  131. alert(q)
  132.  
  133. 1
  134. 1
  135. 1
  136. 1
  137. 1
  138. 1
  139. 1
  140. 1
  141. 1
  142.  
  143. q="";for(i=***n***;++i<***n^2+n+1***;i%***n***||(q+="n"))q+=i%***n+1***?"0":1
  144.  
  145. q="";for(i=6;++i<43;i%6||(q+="n"))q+=i%7?" ":1
  146.  
  147. i=9;q=""
  148. ; while((
  149. ++ i)<91)
  150. {q= q+""+
  151. ""+( "")+
  152. (!((i %10
  153. ))?1:" ")
  154. ;i%9||( q
  155. +="n")}
  156.  
  157. 1 ]
  158. D * S
  159. * 5
  160. / N *
  161. 1 ;
  162.  
  163. 1 1 1
  164. 1 1
  165. 1 1 1
  166. 1 1
  167. 1 1 1
  168.  
  169. 1] "Push [1].";
  170. D* "Repeat 13 times.";
  171. S* "Riffle with spaces.";
  172. 5/ "Split into runs of five elements.";
  173. N* "Join those with line breaks.";
  174. 1; "Push and pop a 1. No-op.";
  175.  
  176. 8>v_20gv
  177. v9<^v#<4
  178. 1@,/<>^6
  179. v1,*$:<p
  180. ->,!-^87
  181. :^*25<^g
  182. _88g,^^4
  183. 9vpv#6<
  184. @
  185.  
  186. @
  187. @
  188. @
  189. @
  190. @
  191. @
  192. @
  193. @
  194. $$$$$$$$
  195.  
  196. (*_,q,n
  197. )=p='''
  198. p
  199. '''[2:]
  200. print(p
  201. *2+q*7,
  202. n+p*4+p
  203. [0:-1])
  204.  
  205. p
  206. p
  207. ppppppp
  208. p
  209. p
  210. p
  211. p
  212. p
  213.  
  214. (0...8)
  215. . map(){
  216. |x |$><<
  217. 32. chr*
  218. x+[x ]*'
  219. '<<32 .
  220. chr*(7 -
  221. x)+?n}
  222.  
  223. 0
  224. 1
  225. 2
  226. 3
  227. 4
  228. 5
  229. 6
  230. 7
  231.  
  232. SSSS
  233. 1N]4
  234. *B11
  235. S
  236.  
  237. 1
  238. 1
  239. 1
  240. 1
  241. 1111
  242.  
  243. #include<c
  244. stdio>/***/
  245. int/**/mai
  246. n(){for(in
  247. t/**/i=0;i
  248. <12;++i)pr
  249. intf(i^8?"
  250.  
  251. |n":"~~~~
  252. ~~~~~~~x2
  253. 0n");}/**/
  254.  
  255. |
  256. |
  257. |
  258. |
  259. |
  260. |
  261. |
  262. |
  263. ~~~~~~~~~~~
  264. |
  265. |
  266. |
  267.  
  268. 07'?>:8v
  269. v y+da:%<
  270. <v ':vj!-
  271. ,+# '<zzv
  272. v1#a vj!<
  273. >z,1 -v
  274. z>+,$v z<
  275. 1_@#:<v -
  276. zzzzzv<z
  277.  
  278. (
  279. ,
  280. &
  281. %
  282. $
  283. #
  284. "
  285. !
  286.  
  287. 07'?>:8%:ad+y-!jv>'n,$v
  288. !jv a,1-v > 's,
  289. > > v
  290. v-1_@#: <
  291.  
  292. const int WIDTH = 8
  293. push 0 //Because of the way the 'y' instruction works when picking
  294. int row=7 //8-1 rows
  295. int i=63 //Starting at the end allows for the cheaper i != 0
  296. do
  297. {
  298. pick variable row from the stack bottom + 1//ad+y
  299. if(i%WIDTH == row)
  300. {
  301. print non-space
  302. }
  303. else
  304. {
  305. print space
  306. if(i%WIDTH == 0)
  307. {
  308. print new-line
  309. --row
  310. }
  311. }
  312. --i
  313. }
  314. while(i != 0);
  315.  
  316. N a
  317. ` S
  318. * N
  319. X $
  320.  
  321. [ "
  322. " ]
  323. [ "
  324. " ]
  325.  
  326. ["
  327. "]
  328.  
  329. [ "
  330. " ]
  331.  
  332. 5
  333. 5
  334. 5
  335. 5
  336. 5
  337. 55555
  338.  
  339. print(
  340. (?f+"
  341. "*6+?
  342. )*6).!
  343. $><<"
  344. f"<<!1
  345. ;
  346.  
  347. f
  348. f
  349. f
  350. f
  351. f
  352. f
  353. ffalse
  354.  
  355. puts((
  356. "ff"+#
  357. ?s*6+
  358. ?n)*7
  359. );$><<
  360. ?s*2+
  361. ?f;p:p
  362. .!
  363.  
  364. ff
  365. ff
  366. ff
  367. ff
  368. ff
  369. ff
  370. ff
  371. ffalse
  372.  
  373. 0dA8,7,6
  374. 1dA5,4, 3
  375. 2dA2,1 ,0
  376. 3rEs: rem
  377. 4?sP s)::
  378. 5:? "*";:
  379. 6p =8---s
  380. 7 ?sPp):?
  381. 8ifsgO3:
  382.  
  383. *
  384. *
  385. *
  386. *
  387. *
  388. *
  389. *
  390. *
  391. *
  392.  
  393. 1s=56/8
  394. 2?sP7);
  395. 3?"?"::
  396. 4s=s-+1
  397. 5ifsgO2
  398. 6?-8^6;
  399. 7?sP1):
  400. 8
  401.  
  402. ?
  403. ?
  404. ?
  405. ?
  406. ?
  407. ?
  408. ?
  409. -262144
  410.  
  411. H32
  412. 2 C4
  413. :" }
  414. o/
  415.  
  416. d
  417. d
  418. d
  419. d
  420.  
  421. H Push char 100, 'd'
  422. 32 2C Push char 32, a space, and make 2 extra copies
  423. We now have the string 'd '
  424. 4: 4 times do:
  425. " Print the string
  426. } Cyclically shift it right, once
  427.  
  428. Code Output
  429.  
  430. 35; #
  431. 3 2j #
  432. 2C 4 #
  433. :"} #
  434.  
  435. K 36 #
  436. 33 2 #
  437. Ct4 #
  438. :}" #
  439.  
  440. 2
  441.  
  442. /
  443. /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement