· 8 years ago · Nov 28, 2017, 01:24 PM
1CE 06 80 F0 01 A2 0B A9 00 4C 24 ED
2
3C6 B6 F0 01 A2 0B A9 00 4C 24 ED
4
5CE 06 80 F0 01 A2 0B 4C 26 ED
6
7C6 B6 F0 01 A2 0B 4C 26 ED
8
9]BLOAD COUNT THEN BRK
10]CALL 32768
1110
12]CALL 32768
139
14]CALL 32768
158
16]CALL 32768
177
18]CALL 32768
196
20]CALL 32768
215
22]CALL 32768
234
24]CALL 32768
253
26]CALL 32768
272
28]CALL 32768
291
30]CALL 32768
31
328008- A=80 X=9D Y=00 P=36 S=EE
33*
34
35DEC NUM+1 ; Decrement the LDX instruction's operand
36 BEQ NUM+1 ; If it is now zero, branch to it; 00 is the opcode for the BRK instruction, which causes the program to crash to the monitor
37NUM LDX #$0B ; Load the X register with 0x0A; the operand has already been decremented once
38 LDA #$00 ; Load the accumulator with 0
39 JMP $ED24 ; Jump to $ED24, an Applesoft ROM routine which prints A (high byte),X (low byte) in decimal
40
41DEC NUM+1 ; Decrement the LDX instruction's operand
42 BEQ NUM+1 ; If it is now zero, branch to it; 00 is the opcode for the BRK instruction, which causes the program to crash to the monitor
43NUM LDX #$0B ; Load the X register with 0x0A; the operand has already been decremented once
44 JMP $ED26 ; Jump to $ED26, which is two bytes into the Applesoft routine at $ED24. The two skipped bytes would store the accumulator in $9E
45
46CE 06 80 F0 07 A2 0B A9 00 4C 24 ED 4C 2D FF
47
48C6 B6 F0 07 A2 0B A9 00 4C 24 ED 4C 2D FF
49
50CE 06 80 F0 05 A2 0B 4C 26 ED 4C 2D FF
51
52C6 B6 F0 05 A2 0B 4C 26 ED 4C 2D FF
53
54CE 06 80 F0 FE A2 0B A9 00 4C 24 ED
55
56C6 B6 F0 FE A2 0B A9 00 4C 24 ED
57
58CE 06 80 F0 FE A2 0B 4C 26 ED
59
60C6 B6 F0 FE A2 0B 4C 26 ED
61
62say 12-$$||die
63
64$ unshare -Urfp /bin/dash
65# perl -E 'say 12-$$||die'
6610
67# perl -E 'say 12-$$||die'
689
69# perl -E 'say 12-$$||die'
708
71# perl -E 'say 12-$$||die'
727
73# perl -E 'say 12-$$||die'
746
75# perl -E 'say 12-$$||die'
765
77# perl -E 'say 12-$$||die'
784
79# perl -E 'say 12-$$||die'
803
81# perl -E 'say 12-$$||die'
822
83# perl -E 'say 12-$$||die'
841
85# perl -E 'say 12-$$||die'
86Died at -e line 1.
87#
88
89namespace System.IO{class P{static void Main(){int n=11;for(;File.Exists(""+--n););File.Create(""+n);Console.Wr‌​ite(n*n/n);}}}
90
91namespace System.IO{class P{static void Main(){int n=11;for(;File.Exists(""+--n););File.Create(""+n);Console.Wr‌​ite(n*n/n);}}}
92
93namespace System.IO
94{
95 class P
96 {
97 static void Main()
98 {
99 int n=11;
100 for(;File.Exists(""+--n););
101 File.Create(""+n);
102 Console.Wr‌​ite(n*n/n);
103 }
104 }
105}
106
107f=open(__file__,"r+")
108x=75-len(f.read())
109x/x
110print x
111f.write('#')
112
113γ-@â–²lqΈ?â¡Î³?γaγ0₯I₯C1
114
1150 PRINT 9 + 1: CALL 2066: END : OR <CTRL-F><CTRL-H>`
116
117]RUN
11810
119
120]RUN
1219
122
123]RUN
1248
125
126]RUN
1277
128
129]RUN
1306
131
132]RUN
1335
134
135]RUN
1364
137
138]RUN
1393
140
141]RUN
1422
143
144]RUN
1451
146
147]RUN
148
149?SYNTAX ERROR IN 0
150
1510812- CE 06 08 DEC $0806
1520815- 60 RTS
153
154a1Fi:0(?b1-:?:1Fn;
155
156a1F open file named "n"
157 i: recieve input and duplicate it (-1 if empty)
158 0(?b if the file is empty, push 11 to the stack
159 1- subtract one
160 : duplicate the number
161 ?: if the number isn't 0, duplicate it again
162 1F save the number to the file
163 n output the number (crash if non-existant)
164 ; exit
165
166using System.IO;class P{static void Main(){int n;try{n=File.ReadAllText("f")[0]-48;}catch{n=10;}System.Console.Write(n/n*n);File.WriteAllText("f",""+--n);}}
167
168using System.IO;
169class P
170{
171 static void Main()
172 {
173 int n;
174 try
175 {
176 n = File.ReadAllText("f")[0] - 48;
177 }
178 catch {
179 n = 10;
180 }
181 System.Console.Write(n / n * n);
182 File.WriteAllText("f", "" + --n);
183 }
184}
185
186j=File.open(?a,"a+");1/(i=j.readlines.length-14);p -i;j.puts
187
188if(!$n){$n=10;$n}else{$n-=1;if($n-eq0){throw};$n}
189
190PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
19110
192
193____________________________________________________________________________________________________________________________________________________________________
194PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
1959
196
197____________________________________________________________________________________________________________________________________________________________________
198PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
1998
200
201____________________________________________________________________________________________________________________________________________________________________
202PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
2037
204
205____________________________________________________________________________________________________________________________________________________________________
206PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
2076
208
209____________________________________________________________________________________________________________________________________________________________________
210PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
2115
212
213____________________________________________________________________________________________________________________________________________________________________
214PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
2154
216
217____________________________________________________________________________________________________________________________________________________________________
218PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
2193
220
221____________________________________________________________________________________________________________________________________________________________________
222PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
2232
224
225____________________________________________________________________________________________________________________________________________________________________
226PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
2271
228
229____________________________________________________________________________________________________________________________________________________________________
230PS C:Users***> if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw};$n;}
231ScriptHalted
232At line:1 char:49
233+ if(!$n){$n = 10;$n}else{$n=$n-1;if($n-eq0){throw <<<< };$n;}
234 + CategoryInfo : OperationStopped: (:) [], RuntimeException
235 + FullyQualifiedErrorId : ScriptHalted
236
237import java.io.PrintWriter;class M{public static void main(String[] a) throws Exception{if(!new java.io.File("x").exists()) try(PrintWriter p=new java.io.PrintWriter("x")){p.write("10");}int b=new java.util.Scanner(new java.io.File("x")).nextInt();try(PrintWriter p=new java.io.PrintWriter("x")){p.print(b/b*b-1+"");System.out.print(b+"");}}}
238
239import java.io.PrintWriter;
240
241class M {
242 public static void main(String[] a) throws Exception {
243 if (!new java.io.File("x").exists()) {
244 try (PrintWriter p = new java.io.PrintWriter("x")) {
245 p.write("10");
246 }
247 }
248 int b = new java.util.Scanner(new java.io.File("x")).nextInt();
249 try (PrintWriter p = new java.io.PrintWriter("x")) {
250 p.print(b / b * b - 1 + "");
251 System.out.print(b + "");
252 }
253 }
254}
255
256create table if not exists t(n not null);insert into t select 11;update t set n=case n when 1 then null else n-1 end;select min(n)from t
257
258q=File.read ?a
2590/h=62-q.size
260p h
261File.write ?a,q+?1#
262
263C:UsersConor O'BrienDocumentsProgramming
264λ type a
265q=File.read ?a
2660/h=62-q.size
267p h
268File.write ?a,q+?1#
269C:UsersConor O'BrienDocumentsProgramming
270λ ruby a
27110
272
273C:UsersConor O'BrienDocumentsProgramming
274λ ruby a
2759
276
277C:UsersConor O'BrienDocumentsProgramming
278λ ruby a
2798
280
281C:UsersConor O'BrienDocumentsProgramming
282λ ruby a
2837
284
285C:UsersConor O'BrienDocumentsProgramming
286λ ruby a
2876
288
289C:UsersConor O'BrienDocumentsProgramming
290λ ruby a
2915
292
293C:UsersConor O'BrienDocumentsProgramming
294λ ruby a
2954
296
297C:UsersConor O'BrienDocumentsProgramming
298λ ruby a
2993
300
301C:UsersConor O'BrienDocumentsProgramming
302λ ruby a
3032
304
305C:UsersConor O'BrienDocumentsProgramming
306λ ruby a
3071
308
309C:UsersConor O'BrienDocumentsProgramming
310λ ruby a
311a:2:in `/': divided by 0 (ZeroDivisionError)
312 from a:2:in `<main>'
313
314x=10
315x/x
316print x
317f=open(__file__,"r+")
318s=f.read()
319f.seek(0)
320f.write(s.replace(`x`,`x-1`))
321
322X=Y ifTrue:[Smalltalk at:#X put:10]ifFalse:[X:=X-1].(X*X/X)printNl
323
324>seq 11|xargs -L1 sudo gst -S fail.st 2>/dev/null
32510
3269
3278
3287
3296
3305
3314
3323
3332
3341
335Object: 0 error: The program attempted to divide a number by zero
336ZeroDivide(Exception)>>signal (ExcHandling.st:254)
337SmallInteger(Number)>>zeroDivide (SysExcept.st:1426)
338SmallInteger>>/ (SmallInt.st:277)
339UndefinedObject>>executeStatements (fail.st:1)
340
341<?session_start();echo10-$_SESSION[0]++?:die;
342
343If not(Ans
34411
345Ans-1
346AnsAns/Ans
347
348open"r",1,"a.b" $get#1,1,e|~e=0|e=ze=e-1]?e~e=0|$error 1|]$put#1,1,e|
349
350@call:l
351@if %n%==0 goto g
352@echo %n%
353@cmd/cset/a-1>>%0
354:l
355@set/an=10
356
357`if`(!"x"%in%ls(),cat(x<-10),`if`(x>0,cat(x<-x-1),))