UVA 12461
Don't copy without trying.
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a;
while(cin>>a)
{
if(a==0)
{
break;
}
else
{
cout<<"1/2"<<endl;
}
}
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a;
while(cin>>a)
{
if(a==0)
{
break;
}
else
{
cout<<"1/2"<<endl;
}
}
return 0;
}
Comments
Post a Comment