QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#40400#4377. BackpackGuanYunchangCompile Error//C++11563b2022-07-21 11:46:312022-07-21 11:46:33

詳細信息

answer.code:1:1: error: ‘include’ does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
answer.code:7:1: error: ‘bitset’ does not name a type
    7 | bitset<1050> f[1050],g[1050];
      | ^~~~~~
answer.code: In function ‘void solve()’:
answer.code:11:9: error: ‘cin’ was not declared in this scope
   11 |         cin>>n>>m;
      |         ^~~
answer.code:13:17: error: ‘f’ was not declared in this scope
   13 |                 f[j].reset();
      |                 ^
answer.code:15:9: error: ‘f’ was not declared in this scope
   15 |         f[0][0]=1;
      |         ^
answer.code:21:25: error: ‘g’ was not declared in this scope
   21 |                         g[j]=f[j];
      |                         ^
answer.code:25:31: error: ‘g’ was not declared in this scope
   25 |                         f[j]|=g[j^y];
      |                               ^
answer.code:34:9: error: ‘cout’ was not declared in this scope
   34 |         cout<<ans<<endl;
      |         ^~~~
answer.code:34:20: error: ‘endl’ was not declared in this scope
   34 |         cout<<ans<<endl;
      |                    ^~~~
answer.code: In function ‘int main()’:
answer.code:39:14: error: ‘std::ios’ has not been declared
   39 |         std::ios::sync_with_stdio(false);
      |              ^~~
answer.code:40:9: error: ‘cin’ was not declared in this scope
   40 |         cin.tie(0);
      |         ^~~