QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299161#7901. Basic Substring Structureucup-team244#Compile Error//C++145.6kb2024-01-06 17:28:422024-01-06 17:28:42

详细

answer.code: In function ‘void lcp_array()’:
answer.code:71:14: error: expected ‘;’ before ‘}’ token
   71 |             h//eigh[rank[i]] = lcp;
      |              ^
      |              ;
   72 |         }
      |         ~     
answer.code: In function ‘void solve()’:
answer.code:97:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   97 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
answer.code:100:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  100 |         scanf("%d",&ss[i]);
      |         ~~~~~^~~~~~~~~~~~~
answer.code: In function ‘int main()’:
answer.code:200:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  200 |     scanf("%d",&t);
      |     ~~~~~^~~~~~~~~