摘要:
A - Candies 题解:给出一个数n,求x,使得 x+2x+4x+.....+2^(k-1)x=n成立 由此可得出x=n/(1+2+4+...+2^(k-1));不用求k的值 #include<bits/stdc++.h> using namespace std; int main() { i 阅读全文
摘要:
A. Radio Prize All boring tree-shaped lands are alike, while all exciting tree-shaped lands are exciting in their own special ways.What makes Treeland 阅读全文