摘要: P2404 自然数的拆分问题题解:#include using namespace std;int n,sum;int a[15]={1};void print(int t){ for(int i=1;i>n; ... 阅读全文
posted @ 2020-02-14 16:20 BorisDimitri 阅读(64) 评论(0) 推荐(0) 编辑
摘要: P1118 [USACO06FEB]数字三角形`Backward Digit Su`…第一次看到这个题的感受 :题解:#include using namespace std;int n,sum;int ha[1... 阅读全文
posted @ 2020-02-14 15:07 BorisDimitri 阅读(41) 评论(0) 推荐(0) 编辑
摘要: P1023 税收与补贴问题题解:#include#include#includeusing namespace std;int s, a, b, d, n = 0;int a1, a2, a3, b1, b2, ... 阅读全文
posted @ 2020-02-14 14:55 BorisDimitri 阅读(42) 评论(0) 推荐(0) 编辑