0_0_37727682_21435.cpp:5:13: error: 'll' does not name a type
#define int ll
^
0_0_37727682_21435.cpp:6:7: note: in expansion of macro 'int'
const int mo = 79205;
^
0_0_37727682_21435.cpp:5:13: error: 'll' does not name a type
#define int ll
^
0_0_37727682_21435.cpp:7:1: note: in expansion of macro 'int'
int dp[mo + 10];
^
0_0_37727682_21435.cpp:5:13: error: 'll' does not name a type
#define int ll
^
0_0_37727682_21435.cpp:8:1: note: in expansion of macro 'int'
int t, n, ans,tt;
^
0_0_37727682_21435.cpp:5:13: error: 'll' does not name a type
#define int ll
^
0_0_37727682_21435.cpp:9:1: note: in expansion of macro 'int'
int val[] = { 7,31,365 };
^
0_0_37727682_21435.cpp: In function 'int main()':
0_0_37727682_21435.cpp:5:13: error: 'll' was not declared in this scope
#define int ll
^
0_0_37727682_21435.cpp:15:7: note: in expansion of macro 'int'
for (int i = 1; i <= 79215; i++)
^
0_0_37727682_21435.cpp:15:18: error: 'i' was not declared in this scope
for (int i = 1; i <= 79215; i++)
^
0_0_37727682_21435.cpp:16:3: error: 'dp' was not declared in this scope
dp[i] = INF;
^
0_0_37727682_21435.cpp:5:13: error: 'll' was not declared in this scope
#define int ll
^
0_0_37727682_21435.cpp:18:7: note: in expansion of macro 'int'
for (int i = 1; i <= 79215; i++)
^
0_0_37727682_21435.cpp:18:18: error: 'i' was not declared in this scope
for (int i = 1; i <= 79215; i++)
^
0_0_37727682_21435.cpp:20:12: error: expected ';' before 'j'
for (int j = 0; j < 3; j++)
^
0_0_37727682_21435.cpp:20:19: error: 'j' was not declared in this scope
for (int j = 0; j < 3; j++)
^
0_0_37727682_21435.cpp:22:13: error: 'val' was not declared in this scope
if (i >= val[j])
^
0_0_37727682_21435.cpp:23:5: error: 'dp' was not declared in this scope
dp[i] = min(dp[i], dp[i - val[j]] + 1);
^
0_0_37727682_21435.cpp:26:9: error: 't' was not declared in this scope
cin >> t;
^
0_0_37727682_21435.cpp:29:10: error: 'n' was not declared in this scope
cin >> n;
^
0_0_37727682_21435.cpp:30:11: error: 'mo' was not declared in this scope
if (n % mo == 0) cout << n / 365 << endl;
^
0_0_37727682_21435.cpp:33:4: error: 'ans' was not declared in this scope
ans = 0;
^
0_0_37727682_21435.cpp:36:8: error: 'dp' was not declared in this scope
if (dp[n] == INF) cout << -1 << endl;
^
|