0_0_36422971_21136.cpp:44:13: error: expected unqualified-id before 'long'
#define int long long
^
0_0_36422971_21136.cpp:140:1: note: in expansion of macro 'int'
int m, s;
^
0_0_36422971_21136.cpp: In function 'bool check(long long int)':
0_0_36422971_21136.cpp:150:6: error: 'm' was not declared in this scope
if (m <= stk[stk_top])return 1;
^
0_0_36422971_21136.cpp:151:16: error: 'm' was not declared in this scope
if (x > 1 && (m - stk[stk_top]+sum-1) / sum <= x-2)return 1;
^
0_0_36422971_21136.cpp:160:14: error: 'm' was not declared in this scope
if (cur >= m)
^
0_0_36422971_21136.cpp: In function 'long long int solve()':
0_0_36422971_21136.cpp:181:14: error: 'm' was not declared in this scope
if (cur >= m)
^
0_0_36422971_21136.cpp: In function 'long long int brute_force()':
0_0_36422971_21136.cpp:242:15: error: 'm' was not declared in this scope
if (cur >= m)ans = i;
^
0_0_36422971_21136.cpp: In function 'int main()':
0_0_36422971_21136.cpp:257:15: error: 'm' was not declared in this scope
cin >> n >> m;
^
|