QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#668144#7780. Dark LaTeX vs. Light LaTeXucup-team2513Compile Error//C++175.4kb2024-10-23 11:52:472024-10-23 11:52:47

詳細信息

answer.code: In function ‘int main()’:
answer.code:170:69: error: ‘i’ was not declared in this scope
  170 |                 for (ri r = l; r <= len1; r++) cnt1[l][r] = ot2[hn1[i][j]];
      |                                                                     ^
answer.code:170:72: error: ‘j’ was not declared in this scope
  170 |                 for (ri r = l; r <= len1; r++) cnt1[l][r] = ot2[hn1[i][j]];
      |                                                                        ^
answer.code:172:69: error: ‘i’ was not declared in this scope
  172 |                 for (ri r = l; r <= len2; r++) cnt2[l][r] = ot1[hn2[i][j]];
      |                                                                     ^
answer.code:172:72: error: ‘j’ was not declared in this scope
  172 |                 for (ri r = l; r <= len2; r++) cnt2[l][r] = ot1[hn2[i][j]];
      |                                                                        ^
answer.code:135:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  135 |         scanf("%s%s", s1 + 1, s2 + 1);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~