#ifndef V/*/ #ifndef V//*/ #define V + __LINE__ #define V + __LINE__ static int u, b, e, l, _ = 0/*/ static int u, b, e, l, _ = 0/*/ #include __FILE__ ;/*/ ;//*/ //*/ #include #include static char *d = NULL, *p, *q, *r; static void f(void) { fwrite(d, q - d, 1, stdout); } static void t(char *s) { e -= s - d; for(p = d; p != d + e;) *p++ = *s++; } static void a(void) { q = r = d + e; for(q -= q[l = -1] == 10; d - q--;) { if( *q == 10 ) { l--; if( l < u ) { l++; break; } r = q + 1; } } q++; if( !_ ) { f(); } t(q); } int main(int z, char **v) { _ = __LINE__ < 59 ? 1 : _ == 158 ? 0 : -1; if( z - 2 ) { return printf("%s {line_%s}\n", *v, _ ? "count" : "number"); } u = atoi(v[l = 1]); u = _ ? _ * abs(u) : u; b = e = z = 0; while( !z ) { if( e == b && !(d = (char*)realloc(d, b += 4096)) ) { fputs("Out of memory\n", stderr); return 1; } e += fread(d + e, 1, b - e, stdin); z = e < b; if( u < 0 ) { if( e ) { a(); if( z ) { if( !_ && l == u ) { t(r -= q - d); } q = d + e; f(); } } } else { for(p = q = d; p != d + e; l += *p++ == 10) { if( _ ? l <= u : l != u ) *q++ = *p; } f(); e = 0; } } 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; } */ #undef V/*/ #undef V/*/ #define V/*/ #define V/*/ #endif/*/ #endif/*/ V//*/