http://acm.hdu.edu.cn/showproblem.php?pid=6312
输出前几项,都是“Yes”
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
while(cin>>n)
{
cout<<"Yes"<<endl;
}
//cout << "Hello world!" << endl;
return 0;
}
http://acm.hdu.edu.cn/showproblem.php?pid=6312
输出前几项,都是“Yes”
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
while(cin>>n)
{
cout<<"Yes"<<endl;
}
//cout << "Hello world!" << endl;
return 0;
}