1A - Theatre Square || Codeforces

Problem name: 1A - Theatre Square

Judge: Codeforces

Problem link: Theatre Square

Solution on GitHub: 1A - Theatre Square 

 

[At first you should try to solve the problem on your own. This will increase your thinking power and the ability to solve the program will increase. And if you copy directly from here, you will not learn anything. So my advice is to try to solve it yourself first. If not then check this code. Once you understand the code, do it yourself. Don't copy from here.
Best of luck]


Codeforces 1A - Theatre Square Solution in C++/Cpp

#include <iostream>

using namespace std;

int main()
{
    int x, y, a, countx = 0, county = 0, resultx, resulty;
    cin >> x >> y >> a;
    while (x--)
    {
        resultx = resultx;
    }
    cout << countx + county << endl;

    return 0;
}







Next Post Previous Post
No Comment
Add Comment
comment url