QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#401245#6409. Classical Data Structure ProblemHuangHanShengCompile Error//C++112.6kb2024-04-28 10:56:152024-04-28 10:56:15

详细

answer.code: In member function ‘ll fhq::change(int, int, ll)’:
answer.code:96:17: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
   96 |                 t.split(root,x,y,1ll*p-1);
      |                 ^
      |                 tm
answer.code: In function ‘int main()’:
answer.code:112:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  112 |         scanf("%d%d",&n,&m);
      |         ~~~~~^~~~~~~~~~~~~~
answer.code:118:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  118 |                 scanf("%lld%lld",&p,&q);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~