spoj problem solution TEST
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
while(n!=42)
{
cout<<n<<endl;
cin>>n;
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
while(n!=42)
{
cout<<n<<endl;
cin>>n;
}
return 0;
}
No comments:
Post a Comment