QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#102037#5830. 树hyforcesCompile Error//C++207.3kb2023-05-02 10:34:132023-05-02 10:34:15

详细

answer.code: In function ‘void dfs1(long long int, long long int, long long int)’:
answer.code:58:5: error: ‘rs1’ was not declared in this scope; did you mean ‘rss1’?
   58 |     rs1[u]=u;
      |     ^~~
      |     rss1
answer.code:64:9: error: ‘rst’ was not declared in this scope; did you mean ‘rss’?
   64 |         rst[u][a]=rsf[u][a];
      |         ^~~
      |         rss
answer.code: In function ‘long long int query_v2(long long int, long long int)’:
answer.code:207:22: error: ‘rs1’ was not declared in this scope; did you mean ‘rss1’?
  207 |                 cp=((rs1[cp]==cp)?-1:rs1[cp]);
      |                      ^~~
      |                      rss1