摘要:
A. Remainder 这题唯一的坑点就是x哪一位不用判断是否为1,我就跳了进去 代码 include using namespace std; define ll long long int main(){ ios::sync_with_stdio(false); cin.tie(0); cou 阅读全文
摘要:
链接 [https://ac.nowcoder.com/acm/contest/624/G] 题意 其实题意说的辣鸡死了,没有说明确。 y is the subsequences that its sum is strictly less than p, regardless of the leng 阅读全文
摘要:
代码 include using namespace std; define MAX_N 100 int bit[MAX_N + 1], n; long long f; int a[MAX_N]; int sum(int i){ int s = 0; while(i 0){ s += bit[i]; 阅读全文