QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#76292#4811. Be CarefulHenry__ChenCompile Error//C++202.9kb2023-02-09 02:06:172023-02-09 02:06:59

Details

answer.code: In lambda function:
answer.code:43:17: error: expected ‘;’ before ‘std’
   43 |                 std::vector f(allv, 0);
      |                 ^~~
answer.code:45:25: error: ‘f’ was not declared in this scope
   45 |                         f[S] = 1;
      |                         ^
answer.code:57:34: error: ‘f’ was not declared in this scope
   57 |                                 (f[S] += Mod - f[S | (1 << i)]) %= Mod;
      |                                  ^
answer.code:58:52: error: ‘f’ was not declared in this scope
   58 |                 for (int S = 0; S < allv; ++S) if (f[S] != 0) {
      |                                                    ^