![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
apac-test
exmy
Less is more, and more is less.
展开
-
Practice Round APAC test 2017--Problem A. Lazy Spelling Bee
Problem A题意由单词WW构造单词AA,构造规则:AA的第 i 个字母从Wi−1,Wi,Wi+W_{i - 1}, W_i, W_{i + }1中选择,当然,第一个和最后一个只有两种选法。问可以构造多少个不同的单词AA。题解#include <bits/stdc++.h>using namespace std;const int mod = 1000000007;int main()原创 2016-10-14 10:06:18 · 612 阅读 · 0 评论 -
Practice Round APAC test 2017--Problem B. Robot Rock Band
Problem B. Robot Rock Band题意given four lists A, B, C, D containing N numbers each, how many ways are there to choose one number a from list A, one number b from list B, and so on, such that a^b^c^d = K原创 2016-10-14 11:02:09 · 435 阅读 · 0 评论 -
Round D APAC Test 2017--Problem C. Codejamon Cipher(dp)
Problem C. Codejamon Cipher题意The Codejamon monsters talk in enciphered messages. Here is how it works:Each kind of monster has its own unique vocabulary: a list of V different words consisting only of原创 2016-10-18 10:59:03 · 821 阅读 · 3 评论