QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#170345#5748. Determinant, or...?ucup-team983#Compile Error//C++171.3kb2023-09-09 15:03:462023-09-09 15:03:46

详细

answer.code:9:1: error: expected unqualified-id before ‘/’ token
    9 | / dx[4] = {1,-1,0,0},dy[4] = {0,0,1,-1};
      | ^
answer.code:9:21: error: expected unqualified-id before ‘,’ token
    9 | / dx[4] = {1,-1,0,0},dy[4] = {0,0,1,-1};
      |                     ^
answer.code:9:28: error: expected constructor, destructor, or type conversion before ‘=’ token
    9 | / dx[4] = {1,-1,0,0},dy[4] = {0,0,1,-1};
      |                            ^
answer.code:13:1: error: expected unqualified-id before ‘/’ token
   13 | / qmi(int a, int b, int p){ll res = 1 % p;while (b){if (b & 1) res = res * a % p;a = a * (ll)a % p;b >>= 1;}return res;}
      | ^