记录详情

Compile Error

foo.cc:2:2: error: stray '#' in program
    2 | }#include <iostream>
      |  ^
foo.cc:2:1: error: expected declaration before '}' token
    2 | }#include <iostream>
      | ^
foo.cc:2:3: error: 'include' does not name a type
    2 | }#include <iostream>
      |   ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:7:2: error: 'cin' was not declared in this scope
    7 |  cin>>n>>k;
      |  ^~~
foo.cc:33:3: error: 'cout' was not declared in this scope
   33 |   cout<<s[i]<<" ";
      |   ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
DS8-2 选择排序的第k趟
语言
C++
递交时间
2022-01-04 16:19:35
评测时间
2022-01-04 16:19:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes