Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:8:42: error: 'ord' was not declared in this scope
  for(short i=1;i<=m;i++)next_permutation(ord+1,ord+1+n);
                                          ^~~
/in/foo.cc:9:30: error: 'ord' was not declared in this scope
  for(short i=1;i<n;i++)cout<<ord[i]<<" ";
                              ^~~
/in/foo.cc:10:8: error: 'ord' was not declared in this scope
  cout<<ord[n];
        ^~~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1115 火星人
 - 语言
 - C++
 - 递交时间
 - 2025-01-24 22:14:30
 - 评测时间
 - 2025-01-24 22:14:30
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes