QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#53018#4234. Tic Tac Toe CountingMaMengQiCompile Error//C++1.4kb2022-10-04 17:08:502022-10-04 17:09:21

詳細信息

answer.code: In function ‘std::pair<int, int> dfs(int, int)’:
answer.code:43:26: error: ‘Ans’ was not declared in this scope; did you mean ‘ans’?
   43 |                 ans[Val]=Ans;
      |                          ^~~
      |                          ans
answer.code: In function ‘int main()’:
answer.code:69:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   69 |         scanf("%d",&T);
      |         ~~~~~^~~~~~~~~
answer.code:71:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   71 |                 scanf("%s",ch+1);
      |                 ~~~~~^~~~~~~~~~~