题解列表

筛选

数数字 (C++代码)

摘要:公式准备:    (16 * x) % 15 = x    (16 ^ n * x) % 15 = x    (1+2+... ...+15) % 15 = 0    (n + n+1 + n+2 +……

线段覆盖 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int maxn = 10000……

杨辉三角 (C++代码)

摘要:解题思路:水啊(注意换行)参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.ti……