这个人很懒,暂无签名信息
/*数学规律,第一种方法:找3种层数之差加起来 横向 左斜 右斜 第二种: 找出上面的点 的辐射范围 */ #include #include #include #include int main() { int m,n; while(scanf(%d%d,&m,&n)==2) { int temp; if(m > n) ...
What day is that day? It's Saturday today, what day is it after 11 + 22 + 33 + ... + NN days? Input There are multiple test cases. The first line of input contains an integer T indicating the numb...