Talk:C

From Rabid Reaction Force
Revision as of 19:52, 8 September 2022 by 86.16.207.34 (talk) (Created page with "<nowiki> #include <stddef.h> #include <ctype.h> #include <stdlib.h> #include <stdio.h> #define K62 62 extern int main(int ac, const char *const *av) { char a[666]; for (; fgets(a, stdin); ) { size_t y, z= strlen(a); char *s= a+z; for (; z && (--z, iscntrl(*--s)) ;) { *s= 0; } y= z? (z-1)/K62+1: 1; z= z<=3? z: 3; } } </nowiki>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

#include <stddef.h> #include <ctype.h> #include <stdlib.h> #include <stdio.h> #define K62 62 extern int main(int ac, const char *const *av) { char a[666]; for (; fgets(a, stdin); ) { size_t y, z= strlen(a); char *s= a+z; for (; z && (--z, iscntrl(*--s)) ;) { *s= 0; } y= z? (z-1)/K62+1: 1; z= z<=3? z: 3; } }