记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:13: error: 'ostream_iterator' was not declared in this scope
  copy(a,a+n,ostream_iterator<int>(cout," "));
             ^~~~~~~~~~~~~~~~
/in/foo.cc:11:30: error: expected primary-expression before 'int'
  copy(a,a+n,ostream_iterator<int>(cout," "));
                              ^~~

信息

递交者
类型
自测
题目
P1002 排序
语言
C++
递交时间
2020-07-17 16:53:15
评测时间
2020-07-17 16:53:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes