272b专题

CodeForces - 272B Dima and Sequence 函数/思维

Dima and Sequence time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Dima got into number sequences. Now he’s got sequence a1, a2, …, an, co