摘要: A-Sorce: 题意:给一个字符串(只含有‘O’和'X'),如果包含连续'O'那么从第一个O开始分数从1开始按照公差为1的等差数列递增如“OOO”那么分数为1+2+3,如果遇到'X'那么下个'O'又从1开始,如“OOXOO”,分数为1+2+1+2。 分析:水题,直接上代码。 1 #include< 阅读全文
posted @ 2020-02-28 11:47 Kimyon 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 题目: In Frobnia, a far away country, the verdicts in court trials are determined by a jury consisting of members of the general public. Every time a tr 阅读全文
posted @ 2020-02-28 09:42 Kimyon 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目: A university network is composed of N computers. System administrators gathered information on the traffic between nodes, and carefully divided th 阅读全文
posted @ 2020-02-28 09:29 Kimyon 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 题目: For a group of people, there is an idea that everyone is equals to or less than 6 steps away from any other person in the group, by way of introdu 阅读全文
posted @ 2020-02-28 09:26 Kimyon 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 题目: The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snak 阅读全文
posted @ 2020-02-28 09:24 Kimyon 阅读(128) 评论(0) 推荐(0) 编辑