test.c 201 B

12345678910
  1. #include <u.h>
  2. #include <libc.h>
  3. #include <draw.h>
  4. void
  5. main(int argc, char **argv)
  6. {
  7. print("%dn", wordsperline(Rect(atoi(argv[1]), atoi(argv[2]), atoi(argv[3]), atoi(argv[4])), atoi(argv[5])));
  8. }