problemscpp
A collection of my answers to algorithm problems in c++.
载入中...
搜索中...
未找到
comp526
oddecho
函数
comp526::oddecho 命名空间参考
函数
int
main
(istream &cin, ostream &cout)
函数说明
◆
main()
int comp526::oddecho::main
(
istream &
cin
,
ostream &
cout
)
在文件
comp526.cpp
第
84
行定义.
84
{
85
string
str;
86
int
cnt = 0;
87
while
(cin >> str) {
88
if
(cnt % 2 == 1) {
89
cout << str << endl;
90
}
91
cnt++;
92
}
93
return
0;
94
}
制作者
1.13.2