0_0_19301601_7413\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_19301601_7413\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_19301601_7413\Main.java:5: 错误: 需要class, interface或enum
const int N = 100;
^
0_0_19301601_7413\Main.java:7: 错误: 需要class, interface或enum
static long long n;
^
0_0_19301601_7413\Main.java:8: 错误: 需要class, interface或enum
static int q;
^
0_0_19301601_7413\Main.java:10: 错误: 需要class, interface或enum
long long cnt[N];
^
0_0_19301601_7413\Main.java:12: 错误: 需要class, interface或enum
long long solve(const long long x, const int d = 0)
^
0_0_19301601_7413\Main.java:15: 错误: 需要class, interface或enum
return (x - x / 2) * (1 << d) + solve(x / 2, d + 1);
^
0_0_19301601_7413\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_19301601_7413\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_19301601_7413\Main.java:28: 错误: 需要class, interface或enum
long long l, r, x;
^
0_0_19301601_7413\Main.java:29: 错误: 需要class, interface或enum
while( scanf("%lld%d", &n, &q) != EOF )
^
0_0_19301601_7413\Main.java:31: 错误: 需要class, interface或enum
for(int i = 0; i < q; i++)
^
0_0_19301601_7413\Main.java:31: 错误: 需要class, interface或enum
for(int i = 0; i < q; i++)
^
0_0_19301601_7413\Main.java:35: 错误: 需要class, interface或enum
if(t == 1)
^
0_0_19301601_7413\Main.java:38: 错误: 需要class, interface或enum
printf("%lld\n", solve(r) - solve(l - 1));
^
0_0_19301601_7413\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_19301601_7413\Main.java:43: 错误: 需要class, interface或enum
printf("%lld\n", solve(x) - solve(x - 1));
^
0_0_19301601_7413\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_19301601_7413\Main.java:49: 错误: 需要class, interface或enum
}
^
20 个错误
|