Problem A: 去掉双斜杠注释

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $1099$ 正确数量 $615$
裁判形式 标准裁判/Standard Judge 我的状态 尚未尝试
难度 分类标签 编译原理 字符串

将C程序代码中的双斜杠注释去掉。

输入数据中含有一些符合C++语法的代码行。需要说明的是,为了方便编程,规定双斜杠注释内容不含有双引号,源程序中没空行。

输出不含有双斜杠注释的C++代码,除了注释代码之外,原语句行格式不变。

//======================
// simplest program
//======================
#include
using namespace std;
//----------------------
int main(){
  cout<<”hello world!\n”;
}//---------------------

#include
using namespace std;
int main(){
  cout<<”hello world!\n”;
}