0_0_38694873_18011.cpp: In function 'll lowbit(ll)':
0_0_38694873_18011.cpp:14:1: error: named return values are no longer supported
14 | return x & (-x);
| ^~~~~~
0_0_38694873_18011.cpp:36:26: error: 'i' was not declared in this scope
36 | scanf("%lld", &x[i]);
| ^
0_0_38694873_18011.cpp: At global scope:
0_0_38694873_18011.cpp:39:5: error: expected constructor, destructor, or type conversion before '(' token
39 | sort(y + 1, y + 1 + n);
| ^
0_0_38694873_18011.cpp:40:1: error: 'cnt' does not name a type; did you mean 'int'?
40 | cnt = unique(y + 1, y + 1 + n) - (y + 1);
| ^~~
| int
0_0_38694873_18011.cpp:41:1: error: expected unqualified-id before 'for'
41 | for (i = 1; i <= n; i++) x[i] = lower_bound(y + 1, y + 1 + cnt, x[i]) - y;
| ^~~
0_0_38694873_18011.cpp:41:13: error: 'i' does not name a type
41 | for (i = 1; i <= n; i++) x[i] = lower_bound(y + 1, y + 1 + cnt, x[i]) - y;
| ^
0_0_38694873_18011.cpp:41:21: error: 'i' does not name a type
41 | for (i = 1; i <= n; i++) x[i] = lower_bound(y + 1, y + 1 + cnt, x[i]) - y;
| ^
0_0_38694873_18011.cpp:42:1: error: expected unqualified-id before 'for'
42 | for (i = 1; i <= n; i++)
| ^~~
0_0_38694873_18011.cpp:42:13: error: 'i' does not name a type
42 | for (i = 1; i <= n; i++)
| ^
0_0_38694873_18011.cpp:42:21: error: 'i' does not name a type
42 | for (i = 1; i <= n; i++)
| ^
0_0_38694873_18011.cpp:43:25: error: 'k' does not name a type
43 | for (int k = 1; k <= i; k++)
| ^
0_0_38694873_18011.cpp:43:33: error: 'k' does not name a type
43 | for (int k = 1; k <= i; k++)
| ^
0_0_38694873_18011.cpp:45:17: error: expected unqualified-id before 'else'
45 | else dp[i][k] = getsum(x[i] - 1, k - 1) % mod;
| ^~~~
0_0_38694873_18011.cpp:46:7: error: expected constructor, destructor, or type conversion before '(' token
46 | change(x[i], dp[i][k], k);
| ^
0_0_38694873_18011.cpp:47:1: error: expected unqualified-id before 'if'
47 | if (k >= m && k <= m) ans = (ans + dp[i][k]) % mod;
| ^~
0_0_38694873_18011.cpp:52:7: error: expected constructor, destructor, or type conversion before '(' token
52 | printf("Case %c%d%c %lld\n", s, t, p, ans);
| ^
0_0_38694873_18011.cpp:54:1: error: expected unqualified-id before 'return'
54 | return 0;
| ^~~~~~
|