#ifndef w/*/ #ifndef w//*/ #if __LINE__ == 4 #define w(W) W #else #define w(W) #endif #include __FILE__ typedef void P; int u,b,e,l, _; typedef char C; C *d=NULL, *p, *q, *r; P f(P) {fwrite(d, q-d, 1, stdout);} P t(C*s) {e-=s-d; for(p=d;p!=d+e;) {*p++=*s++;}} int main(int z, C**v) { u = _ = 0; for(;;) { _ |= -1 #ifdef V +1; if( !v && u >= 0 && _ >= 0 ) { for(; (b = getchar()) - EOF; l += b == 10) { if( _ ? l <= u : l - u ) putchar(b); } break; } #endif ;_ |= 1 w( -1; if( !v ) { b = e = z = 0; while( !z ) { if( e == b && !(d = (C*)realloc(d, b += 4096)) ) { fputs("Out of memory\n", stderr); return 1; } e += fread(d + e, 1, b - e, stdin); z = e < b; if( e && u ) { q = r = d + e; for(q -= q[l = -1] == 10; d - q-- && (*q - 10 || l > u);) { if( *q == 10 ) { l--; r = q + 1; } } q++; _ ? (P)0 : f(); t(q); if( z ) { _ || l - u ? (P)0 : t(r -= q - d); q = d + e; f(); } } } break; } ) ; if( z - 2 ) { return printf("%s {line_%s}\n", *v, _ ? "count" : "number"); } u = atoi(v[l = 1]); u = _ ? _ * abs(u) : u; v = NULL; } return 0; } /* #include int I = 8, i; void O(const char *c) { const char *o[] = { "D*DA", "define", "#include", "#if", "#endif", "ndefC", "PSC0P#uU", "R", "SUoPA", "P#uUO", "#QC_CB", "PintCmain(void){returnCputs(_)<0;}" }; while( (i = *c++) ) i > 79 && i < 92 ? O(o[i - 80]), 0 : putchar(i > 64 && i < 69 ? (i * 105 ^ 99) * 3 % 53 : i); } int main(void) { for(O("D*AZoneBPXXWPW"); I < 9973; O(i < I++ ? "A" : "P")) { for(i = 2; i < I && I % i; i++); } O("D*DZcompositeBAPSU_AZprimeBATDP#QCoPPRC__FILE__ASC!Qd(o)&&Qd(O)V_AZ?BAPTD*DTDPD*DTD[[DPTPTYYPSC__LINE__==9994VoDPTD*ATP#QCODP"); return 0; } */ #endif #include #include #define V