摘要:
P1120 小木棍 [数据加强版]题解:#include #include #include int n, cnt, tot, maxn, minn, tm[70];void dfs(int res,int su... 阅读全文
摘要:
CF11A Increasing Sequence入门题,就不解释了题解:算法复杂度为O(n)#include #include using namespace std;int a[2001];int main(... 阅读全文
摘要:
CF1B Spreadsheets题解:#include using namespace std;char x[1000010];int main() { int n,i,j,k; cin>>n; for(i=1... 阅读全文
摘要:
CF25A IQ test题解:#include using namespace std;int a[101];int main(int argc, char **argv){ int n; cin>... 阅读全文
摘要:
题目链接由于此题过于水,所以就不解释了直接上题解 题解: #include using namespace std;int a[101];int main(int argc, char **argv){ i... 阅读全文
摘要:
大水题让我们介绍一下STL库中的绝对值函数-... 阅读全文
摘要:
CF9C Hexadecimal's Numbersせむすけヌ题解:#include#includeusing namespace std;int a[100],ans,n;int pow_(int a,int ... 阅读全文
摘要:
P2404 自然数的拆分问题题解:#include using namespace std;int n,sum;int a[15]={1};void print(int t){ for(int i=1;i>n; ... 阅读全文
摘要:
P1118 [USACO06FEB]数字三角形`Backward Digit Su`…第一次看到这个题的感受 :题解:#include using namespace std;int n,sum;int ha[1... 阅读全文
摘要:
P1023 税收与补贴问题题解:#include#include#includeusing namespace std;int s, a, b, d, n = 0;int a1, a2, a3, b1, b2, ... 阅读全文