摘要: The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the s 阅读全文
posted @ 2018-03-13 16:05 王清河 阅读(133) 评论(0) 推荐(0) 编辑
摘要: The K-P factorization of a positive integer N is to write N as the sum of the P-th power of K positive integers. You are supposed to write a program t 阅读全文
posted @ 2018-03-13 14:40 王清河 阅读(118) 评论(0) 推荐(0) 编辑
摘要: To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords 阅读全文
posted @ 2018-03-13 12:35 王清河 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat 阅读全文
posted @ 2018-03-13 10:50 王清河 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each va 阅读全文
posted @ 2018-03-13 08:51 王清河 阅读(141) 评论(0) 推荐(0) 编辑