possible solution for avoiding #define int long long main error

  c++, macros

I am new to competitive programming. I want to use macros in my CPP codes.
My code is

#include <bits/stdc++.h>
using namespace std;
// macro defined
#define int long long signed

int main()
{
    for (int i = 0; i < 10; i++)
        cout << i << endl;
    return 0;
}

It shows error

cc1plus.exe: error: ‘::main’ must return ‘int’

I know that it is showing an error because of that macro.
How I avoid this error ????

Source: Windows Questions C++

LEAVE A COMMENT