"스택오버플로우 404 페이지 소스코드"의 두 판 사이의 차이

잔글 (Jmnote 사용자가 스택오버플로우 404 페이지 코드 문서를 스택오버플로우 404 페이지 소스코드 문서로 옮겼습니다)
5번째 줄: 5번째 줄:


http://cdn.sstatic.net/stackoverflow/img/polyglot-404.png
http://cdn.sstatic.net/stackoverflow/img/polyglot-404.png
==소스 코드==
<source lang='python'>
# define v putchar
#  define print(x) main(){v(4+v(v(52)-4));return 0;}/*
#>+++++++4+[>++++++<-]>++++.----.++++.*/
print(202*2);exit();
#define/*>.@/exit()
</source>


==실행해보기==
==실행해보기==

2015년 8월 20일 (목) 14:49 판

1 개요

스택오버플로우 404 페이지 코드

 

2 실행해보기

[root@zetawiki ~]# cat 404.txt
# define v putchar
#   define print(x) main(){v(4+v(v(52)-4));return 0;}/*
#>+++++++4+[>++++++<-]>++++.----.++++.*/
print(202*2);exit();
#define/*>.@/exit()
Perl
[root@zetawiki ~]# perl 404.txt
404
PHP
[root@zetawiki ~]# php -r "`cat 404.txt`"
404
Python
[root@zetawiki ~]# python 404.txt
404
Ruby
[root@zetawiki ~]# ruby 404.txt
404

3 같이 보기