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

(새 문서: ==개요== ;스택오버플로우 404 페이지 코드 *예시: http://stackoverflow.com/I-WANT-404-NOT-FOUND *파일명: polyglot-404.png http://cdn.sstatic.net/stackoverflow/img/po...)
 
51번째 줄: 51번째 줄:
==같이 보기==
==같이 보기==
*[[주요 포털 404 Not Found]]
*[[주요 포털 404 Not Found]]
*[[폴리글랏]]
*[[스택오버플로우]]
*[[스택오버플로우]]


[[분류: 프로그래밍 언어]]
[[분류: 프로그래밍 언어]]

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

1 개요

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

 

2 소스 코드

# define v putchar
#   define print(x) main(){v(4+v(v(52)-4));return 0;}/*
#>+++++++4+[>++++++<-]>++++.----.++++.*/
print(202*2);exit();
#define/*>.@/exit()

3 실행해보기

[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

4 같이 보기