QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#803265#9869. Horizon Scanningucup-team5798#Compile Error//C++202.8kb2024-12-07 16:40:382024-12-07 16:40:43

Details

answer.code:29:7: error: elements of array ‘hashv Tval [2000020]’ have incomplete type
   29 | hashv Tval[MN << 2];
      |       ^~~~
answer.code:29:7: error: storage size of ‘Tval’ isn’t known
answer.code: In function ‘pii revseq(int, pii)’:
answer.code:65:1: warning: no return statement in function returning non-void [-Wreturn-type]
   65 | }
      | ^
answer.code: In function ‘hashv push_up(int, int, int)’:
answer.code:69:8: error: ‘B’ was not declared in this scope
   69 |     if(B.len1 < 0 || B.len2 < 0) return {-1, -1, {0, 0}, {0, 0}};
      |        ^
answer.code:75:17: error: ‘B’ was not declared in this scope
   75 |     if(A.len2 > B.len1) {
      |                 ^
answer.code:71:11: warning: control reaches end of non-void function [-Wreturn-type]
   71 |     hashv now = {0, 0, {0, 0}, {0, 0}};
      |           ^~~