⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pp35.c

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 C
字号:
/* +++Date last modified: 05-Jul-1997 */

/* Written by Tom Torfs (2:292/516@fidonet,tomtorfs@dma.be)
   Donated to the public domain */

#include "fail.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

char buff[8192];
char *p = buff;

char *cmp =
"To be, or not to be - that is the question.\n"
"Whether 'tis nobler in the mind to suffer\n"
"The slings and arrows of outrageous fortune,\n"
"Or to take arms against a sea of troubles,\n"
"And by opposing end them? - To die - to sleep -\n"
"No more; and by a sleep to say we end\n"
"The heart-ache, and the thousand natural shocks\n"
"That flesh is heir to; 'tis a consummation\n"
"Devoutly to be wished. To die - to sleep -\n"
"To sleep! perchance to dream. Ay, there's the rub,\n"
"For in that sleep of death what dreams may come,\n"
"When we have shuffled off this mortal coil,\n"
"Must give us pause. There's the respect\n"
"That makes calamity of so long life.\n"
"For who would bear the whips and scorns of time,\n"
"The oppressor's wrong, the proud man's contumely,\n"
"The pangs of despised love, the law's delay,\n"
"The insolence of office, and the spurns\n"
"That patient merit of the unworthy takes,\n"
"When he himself might his quietus make\n"
"With a bare bodkin? Who would fardels bear,\n"
"To grunt and sweat under a weary life,\n"
"But that the dread of something after death -\n"
"The undiscovered country from whose bourn\n"
"No traveller returns - puzzles the will,\n"
"And makes us rather bear those ills we have\n"
"Than fly to others that we know not of?\n"
"Thus conscience does make cowards of us all,\n"
"And thus the native hue of resolution\n"
"Is sicklied o'er with the pale cast of thought;\n"
"And enterprises of great pitch and moment,\n"
"With this regard, their currents turn awry,\n"
"And lose the name of action.\n"
;

int put( char c )
{
    *p++ = c;
    return( c );
}

#define /*_## (__\* /#*/__(/* #)#_*/_/*__ (#_)*/) /*__*/# _/*#_) _(_##_)\*#_*/
char _t[]=__(ABCDEF) __(GHIJKLM) __(NOPQRS) __(TUVWXYZ) __(abcdef) __(ghijklm)
__(nopqrs) __(tuvwxyz) ".,;- ?!'\n"; extern _(char *); extern _b(char); _main(int c,char **a){
if (_(__(I##dt)),_(__(Q##Tqt)),_(__(d##gtc)),_(__(d##iti))) _main(c-1,a+1);
if (_(__(dtQ##Tt)),_(__(s##ti)),_(__(W##Pi)),_(__(t##Xht))) _main(c+1,a-1);
if (_(__(i##WT)),_(__(tfj##Th)),_(__(iXd##cp)),_(__(x##LW))) _main(c-1,a+1);
if (_(__(TiW##Tg)),_(__(twi##Xh)),_(__(tc##dQ)),_(__(aT##gt))) _main(c+1,a-1);
if (_(__(Xc##ti)),_(__(W##Tt)),_(__(b##Xc)),_(__(S##tid))) _main(c-1,a+1);
if (_(__(t##hjU)),_(__(U##TgxI)),_(__(W##Tt)),_(__(h##aXcV))) _main(c+1,a-1);
if (_(__(ht##Pc)),_(__(S##tPg)),_(__(g##dlht)),_(__(d##Utd))) _main(c-1,a+1);
if (_(__(ji##gP)),_(__(V##Tdj)),_(__(h##tU)),_(__(d##gi))) _main(c+1,a-1);
if (_(__(j##cTq)),_(__(x##Dgt)),_(__(id##ti)),_(__(P##ZT))) _main(c-1,a+1);
if (_(__(t##Pg)),_(__(b##ht)),_(__(P##VPX)),_(__(c##hi))) _main(c+1,a-1);
if (_(__(t##Pt)),_(__(hTP##td)),_(__(Uti##gd)),_(__(jQ##aT))) _main(c-1,a+1);
if (_(__(h##qx)),_(__(y##cSt)),_(__(Q##ntd)),_(__(e##ed))) _main(c+1,a-1);
if (_(__(hX##cV)),_(__(t##TcSt)),_(__(iW##Tb)),_(__(ut##st))) _main(c-1,a+1);
if (_(__(I##dt)),_(__(S##XT)),_(__(t##sti)),_(__(d##tha))) _main(c+1,a-1);
if (_(__(T##Tets)),_(__(xC##dtb)),_(__(dgT##rt)),_(__(Pc##St))) _main(c-1,a+1);
if (_(__(Q##nt)),_(__(Pth##aT)),_(__(Te##ti)),_(__(dth##Pn))) _main(c+1,a-1);
if (_(__(tl##TtT)),_(__(c##Sx)),_(__(I##WT)),_(__(t##WTP))) _main(c-1,a+1);
if (_(__(g##isP)),_(__(RW##Tqt)),_(__(P##cSt)),_(__(i##WT))) _main(c+1,a-1);
if (_(__(ti##Wdj)),_(__(hP##cS)),_(__(tc##Pi)),_(__(jgP##at))) _main(c-1,a+1);
if (_(__(hW##dR)),_(__(Zh##xI)),_(__(W##Pi)),_(__(t##UaT))) _main(c+1,a-1);
if (_(__(h##WtX)),_(__(ht##WT)),_(__(Xg##ti)),_(__(d##rtw))) _main(c-1,a+1);
if (_(__(iXh##tP)),_(__(tR##dch)),_(__(jb##bP)),_(__(iX##dc))) _main(c+1,a-1);
if (_(__(x)),_b(','),_(__(T##kd)),_(__(j##ia))) _main(c-1,a+1);
if (_(__(n##tid)),_(__(tQT##tl)),_(__(XhW##TS)),_(__(p##tId))) _main(c+1,a-1);
if (_(__(t##SXTt)),_(__(st##id)),_(__(tha##TT)),_(__(e##ts))) _main(c-1,a+1);
if (_(__(xI##dth)),_(__(aT##Te)),_(__(v##te)),_(__(T##gR))) _main(c+1,a-1);
if (_(__(WP##cR)),_(__(T##ti)),_(__(d##tSgT)),_(__(P##bp))) _main(c-1,a+1);
if (_(__(ty##nq)),_(__(t##iWTg)),_(__(Tw##ht)),_(__(i##WTt))) _main(c+1,a-1);
if (_(__(gj##Qq)),_(__(x)),_b('-'),_(__(dg##tX))) _main(c-1,a+1);
if (_(__(cti##WP)),_(__(i##th)),_(__(a##TTet)),_(__(dU##tST))) _main(c+1,a-1);
if (_(__(P##iW)),_(__(t##lW)),_(__(P##it)),_(__(S##gT))) _main(c-1,a+1);
if (_(__(P##bh)),_(__(t##bPn)),_(__(t##Rdb)),_(__(T##qx))) _main(c+1,a-1);
if (_(__(L##WT)),_(__(c##tlT)),_(__(t##WP)),_(__(k##TthW))) _main(c-1,a+1);
if (_(__(j##UUa)),_(__(TS##tdU)),_(__(U##ti)),_(__(W##Xh))) _main(c+1,a-1);
if (_(__(t##bd)),_(__(g##iPa)),_(__(t##RdXa)),_(__(q##xBjh))) _main(c-1,a+1);
if (_(__(i##tV)),_(__(XkT##tj)),_(__(hte##Pj)),_(__(h##Tpt))) _main(c+1,a-1);
if (_(__(IW##TgT)),_(__(wh##ti)),_(__(W##Ttg)),_(__(T##heT))) _main(c-1,a+1);
if (_(__(R##ixIW)),_(__(P##it)),_(__(b##PZTh)),_(__(t##RPa))) _main(c+1,a-1);
if (_(__(Pb##Xin)),_(__(t##dUt)),_(__(h##dta)),_(__(d##cV))) _main(c-1,a+1);
if (_(__(t##aX)),_(__(U##Tp)),_(__(x)),_b('-')) _main(c+1,a-1);
if (_(__(d##gt)),_(__(lW##dtl)),_(__(dja##St)),_(__(Q##TPg))) _main(c-1,a+1);
if (_(__(t##iW)),_(__(T##tl)),_(__(WX##eh)),_(__(tPc##St))) _main(c+1,a-1);
if (_(__(h##Rd)),_(__(gc##ht)),_(__(d##Uti)),_(__(X##bT))) _main(c-1,a+1);
if (_(__(q##xIWT)),_(__(t##deeg)),_(__(Th##hd)),_(__(gw##htl))) _main(c+1,a-1);
if (_(__(g##dc)),_(__(Vqt##iW)),_(__(T##tegd)),_(__(j##Stb))) _main(c-1,a+1);
if (_(__(Pcw##ht)),_(__(Rd##ci)),_(__(jbT##an)),_(__(q##xIW))) _main(c+1,a-1);
if (_(__(Tt##eP)),_(__(cV##ht)),_(__(d##UtS)),_(__(Th##eXh))) _main(c-1,a+1);
if (_(__(TSt##ad)),_(__(k##Tq)),_(__(t##iWTt)),_(__(a##Pl))) _main(c+1,a-1);
if (_(__(wh##tST)),_(__(a##Pn)),_(__(q##xI)),_(__(W##Tt))) _main(c-1,a+1);
if (_(__(X##ch)),_(__(d##aTcR)),_(__(T##td)),_(__(U##tdU))) _main(c+1,a-1);
if (_(__(UX##RTq)),_(__(t##PcS)),_(__(t##iWTt)),_(__(he##jg))) _main(c-1,a+1);
if (_(__(ch##xI)),_(__(W##Pit)),_(__(e##Pi)),_(__(XT##ci))) _main(c+1,a-1);
if (_(__(t##bT)),_(__(gXi##td)),_(__(Ut##iWT)),_(__(tjc##ld))) _main(c-1,a+1);
if (_(__(g##iWnt)),_(__(i##PZT)),_(__(hq##xLW)),_(__(Tc##tWT))) _main(c+1,a-1);
if (_(__(t##WXb)),_(__(h##TaU)),_(__(tb##XVW)),_(__(i##tW))) _main(c-1,a+1);
if (_(__(X##htf)),_(__(j##XT)),_(__(ij##ht)),_(__(bPZ##Tx))) _main(c+1,a-1);
if (_(__(L##XiW)),_(__(t##PtQP)),_(__(g##TtQd)),_(__(SZ##Xc))) _main(c-1,a+1);
if (_(__(u##tL)),_(__(Wd##tl)),_(__(d##jaS)),_(__(t##UP))) _main(c+1,a-1);
if (_(__(g##STah)),_(__(tQ##TPg)),_(__(qx##Idt)),_(__(V##gj))) _main(c-1,a+1);
if (_(__(ci##tPc)),_(__(S##thlT)),_(__(P##it)),_(__(j##cS))) _main(c+1,a-1);
if (_(__(Tgt##Pt)),_(__(lTP##gn)),_(__(t##aXU)),_(__(Tq##xzj))) _main(c-1,a+1);
if (_(__(i##tiW)),_(__(Pit##iW)),_(__(T##tSg)),_(__(T##PS))) _main(c+1,a-1);
if (_(__(t##dUt)),_(__(hdb##Ti)),_(__(W##Xc)),_(__(V##tP))) _main(c-1,a+1);
if (_(__(Ui##Tg)),_(__(tS##TP)),_(__(i##Wt)),_(__(s##xIW))) _main(c+1,a-1);
if (_(__(Tt##jcS)),_(__(Xh##Rdk)),_(__(TgT##St)),_(__(R##dj))) _main(c-1,a+1);
if (_(__(c##ig)),_(__(nt##Ug)),_(__(d##btl)),_(__(W##dhT))) _main(c+1,a-1);
if (_(__(t##Qdj)),_(__(gcx##Cd)),_(__(t##igP)),_(__(k##Ta))) _main(c-1,a+1);
if (_(__(a##Tg)),_(__(t##gT)),_(__(i##jg)),_(__(c##hts))) _main(c+1,a-1);
if (_(__(t##ejo)),_(__(o##aTh)),_(__(t##iW)),_(__(T##tlXa))) _main(c-1,a+1);
if (_(__(aq##xyc)),_(__(S##tb)),_(__(PZ##Tht)),_(__(j##htg))) _main(c+1,a-1);
if (_(__(PiW##Tg)),_(__(tQT##Pg)),_(__(t##iW)),_(__(d##hTt))) _main(c-1,a+1);
if (_(__(X##aaht)),_(__(lTt##WP)),_(__(kTx##IW)),_(__(P##ct))) _main(c+1,a-1);
if (_(__(U##an)),_(__(t##id)),_(__(tdi##WT)),_(__(g##ht))) _main(c-1,a+1);
if (_(__(iW##Pit)),_(__(l##Tt)),_(__(Zc##dl)),_(__(t##cdi))) _main(c+1,a-1);
if (_(__(td##Uu)),_(__(xI##Wj)),_(__(h##tRdc)),_(__(hR##XTc))) _main(c-1,a+1);
if (_(__(R##Tt)),_(__(Sd##Th)),_(__(tb##PZ)),_(__(Tt##Rd))) _main(c+1,a-1);
if (_(__(l##Pg)),_(__(Sh##td)),_(__(U##tj)),_(__(h##tP))) _main(c-1,a+1);
if (_(__(a##aqx)),_(__(ycS##ti)),_(__(W##jhti)),_(__(W##Tt))) _main(c+1,a-1);
if (_(__(c##Pi)),_(__(X##kTt)),_(__(W##jT)),_(__(td##Utg))) _main(c-1,a+1);
if (_(__(T##hd)),_(__(a##ji)),_(__(X##dcx)),_b('!')) _main(c+1,a-1);
if (_(__(h##th)),_(__(X##RZaX)),_(__(TS##tdw)),_(__(T##gt))) _main(c-1,a+1);
if (_(__(l##XiWt)),_(__(i##WT)),_(__(teP##aT)),_(__(tR##Phi))) _main(c+1,a-1);
if (_(__(t##dU)),_(__(ti##Wd)),_(__(jVW##ir)),_(__(x##yc))) _main(c-1,a+1);
if (_(__(S##tT)),_(__(ciT##ge)),_(__(g##XhT)),_(__(h##tdUt))) _main(c+1,a-1);
if (_(__(VgT##Pi)),_(__(teX##iR)),_(__(W##tP)),_(__(c##St))) _main(c-1,a+1);
if (_(__(b##db)),_(__(T##ci)),_(__(qxL##Xi)),_(__(W##tiW))) _main(c+1,a-1);
if (_(__(X##ht)),_(__(g##TV)),_(__(P##gS)),_(__(qt##iWT))) _main(c-1,a+1);
if (_(__(Xg##tRj)),_(__(gg##Tc)),_(__(i##ht)),_(__(i##jgc))) _main(c+1,a-1);
if (_(__(tP##lg)),_(__(nqx##yc)),_(__(S##ta)),_(__(d##hTti))) _main(c-1,a+1);
if (_(__(W##Ttc)),_(__(P##bT)),_(__(td##Ut)),_(__(P##Ri))) _main(c+1,a-1);
return _(__(Xd##cp)),_(__(x));} _(char *_a){int _c=atoi(__(_a));for (;*_a;_a++)
_c+=_b(*_a);return _c;}_b(char _a){char *_p=strchr(_t,_a);return
_p?!put(_t[((_p-_t)+11)%61]):atoi(__(_p));}

int main(int argc,char **argv){
    _main( argc, argv );
    if( strcmp( buff, cmp ) != 0 ) _fail;
    _PASS;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -