0_0_21584010_236\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_21584010_236\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_21584010_236\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_21584010_236\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_21584010_236\Main.java:4: 错误: 非法字符: '#'
#include <string>
^
0_0_21584010_236\Main.java:5: 错误: 非法字符: '#'
#include <cstring>
^
0_0_21584010_236\Main.java:8: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_21584010_236\Main.java:9: 错误: 需要class, interface或enum
const int maxn = 20005;
^
0_0_21584010_236\Main.java:11: 错误: 需要class, interface或enum
ll a[maxn], b[maxn], c[maxn], l, r, n;
^
0_0_21584010_236\Main.java:13: 错误: 需要class, interface或enum
ll solve(ll mid){
^
0_0_21584010_236\Main.java:15: 错误: 需要class, interface或enum
int i;
^
0_0_21584010_236\Main.java:16: 错误: 需要class, interface或enum
for(i = 0;i<n;i++){
^
0_0_21584010_236\Main.java:16: 错误: 需要class, interface或enum
for(i = 0;i<n;i++){
^
0_0_21584010_236\Main.java:16: 错误: 需要class, interface或enum
for(i = 0;i<n;i++){
^
0_0_21584010_236\Main.java:18: 错误: 需要class, interface或enum
if(k>=a[i]) sum += (k-a[i]) / c[i] + 1;
^
0_0_21584010_236\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_21584010_236\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_21584010_236\Main.java:25: 错误: 需要class, interface或enum
while(scanf("%lld", &n) == 1){
^
0_0_21584010_236\Main.java:26: 错误: 需要class, interface或enum
for(i=0;i<n;i++){
^
0_0_21584010_236\Main.java:26: 错误: 需要class, interface或enum
for(i=0;i<n;i++){
^
0_0_21584010_236\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_21584010_236\Main.java:30: 错误: 需要class, interface或enum
r = (ll)1<<31;
^
0_0_21584010_236\Main.java:31: 错误: 需要class, interface或enum
ll mid;
^
0_0_21584010_236\Main.java:33: 错误: 需要class, interface或enum
while(l<r){
^
0_0_21584010_236\Main.java:35: 错误: 需要class, interface或enum
if(solve(mid)%2) r = mid;
^
0_0_21584010_236\Main.java:36: 错误: 需要class, interface或enum
else l = mid + 1;
^
0_0_21584010_236\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_21584010_236\Main.java:39: 错误: 需要class, interface或enum
else{
^
0_0_21584010_236\Main.java:41: 错误: 需要class, interface或enum
printf("%lld %lld\n", l, solve(l) - solve(l-1));
^
0_0_21584010_236\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_21584010_236\Main.java:45: 错误: 需要class, interface或enum
}
^
31 个错误
|