Here Below I written my Solution of Important Pages on CodeChef in Two different Languages C++ and Python.
Solution in C++ :
#include <bits/stdc++.h>
int main()
{
int a, b;
cin >> a >> b;
if (a == 0)
{
cout << "https://www.codechef.com/practice";
}
else if (b == 0)
{
cout << "https://www.codechef.com/contests";
}
else
{
cout << "https://discuss.codechef.com";
}
return 0;
}
Solution in Python3 :
a, b = map(int, input().split());
if (a == 0):
print("https://www.codechef.com/practice");
elif(b == 0):
print("https://www.codechef.com/contests");
else:
print("https://discuss.codechef.com");