QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#148262#3530. Small businessMonsterstarCompile Error//C++146.0kb2023-08-23 15:33:572023-08-23 20:21:17

詳細信息

answer.code: In function ‘PII get(long long int)’:
answer.code:71:12: error: missing template arguments before ‘now’
   71 |     vector now(10,vector<int>(1,0));
      |            ^~~
answer.code:72:27: error: ‘now’ was not declared in this scope; did you mean ‘pow’?
   72 |     for(int i=0;i<=9;i++) now[i][0]=v[i][0];
      |                           ^~~
      |                           pow
answer.code:108:35: error: ‘now’ was not declared in this scope; did you mean ‘pow’?
  108 |     for(int i=0;i<=9;i++) v[i][0]=now[i][0];
      |                                   ^~~
      |                                   pow
answer.code:155:39: error: ‘now’ was not declared in this scope; did you mean ‘pow’?
  155 |         for(int i=0;i<=9;i++) v[i][0]=now[i][0];
      |                                       ^~~
      |                                       pow