摘要: 题目链接:Happy Necklace HDU - 6030 华师男想为他的女朋友买一条项链。项链是由多个红色和蓝色珠子组成的单串。身为华师男他体贴地想要更加打动他的女朋友,他知道,只要这段珠子中任意取出长度为质数的一段,都满足红珠数不少于蓝珠数,她就会喜欢这条项链。现在,他想买一串纯正的有n个珠子 阅读全文
posted @ 2020-07-29 19:30 lihaji 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Bi-shoe and Phi-shoe Bamboo Pole-vault is a massively popular sport in Xzhiland. And Master Phi-shoe is a very popular coach for his success. He needs 阅读全文
posted @ 2020-07-29 16:06 lihaji 阅读(108) 评论(0) 推荐(0) 编辑
摘要: The Embarrassed Cryptographer The young and very promising cryptographer Odd Even has implemented the security module of a large system with thousands 阅读全文
posted @ 2020-07-29 15:48 lihaji 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Big Number Problem Description As we know, Big Number is always troublesome. But it's really important in our ACM. And today, your task is to write a 阅读全文
posted @ 2020-07-29 14:15 lihaji 阅读(191) 评论(0) 推荐(0) 编辑