摘要: Write a program which reads a sequence A of n elements and an integer M, and outputs "yes" if you can make M by adding elements in A, otherwise "no". 阅读全文
posted @ 2019-04-21 17:23 青衫客36 阅读(507) 评论(0) 推荐(0) 编辑
摘要: Search II You are given a sequence of n integers S and a sequence of different q integers T. Write a program which outputs C, the number of integers i 阅读全文
posted @ 2019-04-21 11:16 青衫客36 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Search I You are given a sequence of n integers S and a sequence of different q integers T. Write a program which outputs C, the number of integers in 阅读全文
posted @ 2019-04-21 11:07 青衫客36 阅读(375) 评论(0) 推荐(0) 编辑
摘要: Doubly Linked List Your task is to implement a double linked list. Write a program which performs the following operations: insert x: insert an elemen 阅读全文
posted @ 2019-04-21 10:52 青衫客36 阅读(340) 评论(0) 推荐(0) 编辑