QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#488315#9156. 百万富翁forest114514Compile Error//C++201.9kb2024-07-23 20:50:552024-07-23 20:50:55

详细

answer.code: In function ‘void solve(int, int)’:
answer.code:65:25: error: ‘n’ was not declared in this scope
   65 |                 rep(i,1,n){
      |                         ^
answer.code:3:38: note: in definition of macro ‘rep’
    3 | #define rep(i,a,b) for(int i=(a);i<=(b);++i)
      |                                      ^