摘要:
B Long time ago Alex created an interesting problem about parallelogram. The input data for this problem contained four integer points on the Cartesia 阅读全文
摘要:
E Nothing is eternal in the world, Kostya understood it on the 7-th of January when he saw partially dead four-color garland. Now he has a goal to rep 阅读全文
摘要:
B - Power Sequence Let's call a list of positive integers a0,a1,...,an−1a0,a1,...,an−1 a power sequence if there is a positive integer cc, so that for 阅读全文
摘要:
10.9 B - A Tide of Riverscape Walking along a riverside, Mino silently takes a note of something. "Time," Mino thinks aloud. "What?" "Time and tide wa 阅读全文
摘要:
A - Sum of Odd Integers 题意:给定n和k,求是否存在k个不同的正奇数和为n. 解题思路:n和k奇偶性应相同,且1+3+5+...+2k−1=k^2,故n>=k*k. ac代码: #include<iostream> using namespace std; int main( 阅读全文