QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#109869#5749. Directed Vertex CactiGuanYunchangCompile Error//C++17435b2023-05-30 20:32:082023-05-30 20:32:10

详细

answer.code: In function ‘int main()’:
answer.code:8:21: error: ‘n’ was not declared in this scope
    8 |         int t = 1ll*n*(n+1)%mod;
      |                     ^
answer.code:10:30: error: ‘m’ was not declared in this scope
   10 |         for (int i = 1; i <= m; i++) {
      |                              ^