• たくさんの数式 / Many Formulas AtCoder - 2067 (枚举二进制)

    时间:2022-02-04 05:43:13

    Problem StatementYou are given a string S consisting of digits between 1 and 9, inclusive. You can insert the letter + into some of the positions (pos...

  • 2018.09.18 atcoder Many Formulas(搜索)

    时间:2021-03-26 08:39:20

    传送门感觉自己搜索能力退化了,这种弱智搜索写了整整5min,这样下去比赛会凉的。看来得多练练题了。代码:#include<bits/stdc++.h>#define ll long longusing namespace std;ll x,ans=0;int n,num[15];inli...

  • Codeforce 424C Magic Formulas 找规律

    时间:2021-01-18 19:57:41

    题目链接:http://codeforces.com/contest/424/problem/C题意:求Q值思路:找规律显然能够得到一个矩阵把这个矩阵画出来就能发现一个横向的规律和一个主对角线方向的规律#include<stdio.h>#include<string.h>#i...