fancl20-PE

Problem 19

Apr 17th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.29 KB | None | 0 0
  1. (defun check (m y)
  2.   (equal 6 (nth 6 (multiple-value-list
  3.                     (decode-universal-time
  4.                       (encode-universal-time 0 0 0 1 m y))))))
  5. (print (loop for i from 1 to 100 sum
  6.              (loop for j from 1 to 12 sum
  7.                    (if (check j (+ 1900 i)) 1 0))))
Advertisement
Add Comment
Please, Sign In to add comment