F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_26664781_7952\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26664781_7952\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_26664781_7952\Main.java:2: 错误: 非法字符: '#'
#define N 100005
^
0_0_26664781_7952\Main.java:3: 错误: 非法字符: '#'
#define ll long long
^
0_0_26664781_7952\Main.java:5: 错误: 需要class, interface或enum
struct node
^
0_0_26664781_7952\Main.java:8: 错误: 需要class, interface或enum
    ll sum,maxn,lazy;
    ^
0_0_26664781_7952\Main.java:9: 错误: 需要class, interface或enum
    ll sumx;
    ^
0_0_26664781_7952\Main.java:10: 错误: 需要class, interface或enum
};
^
0_0_26664781_7952\Main.java:11: 错误: 需要class, interface或enum
node shu[N<<2];
^
0_0_26664781_7952\Main.java:12: 错误: 需要class, interface或enum
ll n,m;
^
0_0_26664781_7952\Main.java:13: 错误: 需要class, interface或enum
ll a[N];
^
0_0_26664781_7952\Main.java:15: 错误: 需要class, interface或enum
void pushup(int rt)
^
0_0_26664781_7952\Main.java:18: 错误: 需要class, interface或enum
    shu[rt].maxn = min(shu[rt<<1].maxn ,shu[rt<<1|1].maxn);
    ^
0_0_26664781_7952\Main.java:19: 错误: 需要class, interface或enum
    shu[rt].sumx = shu[rt<<1].sumx+shu[rt<<1|1].sumx;
    ^
0_0_26664781_7952\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_26664781_7952\Main.java:25: 错误: 需要class, interface或enum
    shu[rt].maxn = 0x3f3f3f3f;
    ^
0_0_26664781_7952\Main.java:26: 错误: 需要class, interface或enum
    shu[rt].lazy = 0;
    ^
0_0_26664781_7952\Main.java:27: 错误: 需要class, interface或enum
    shu[rt].sumx = 0;
    ^
0_0_26664781_7952\Main.java:28: 错误: 需要class, interface或enum
    if(l==r)
    ^
0_0_26664781_7952\Main.java:31: 错误: 需要class, interface或enum
        shu[rt].maxn = a[l];
        ^
0_0_26664781_7952\Main.java:32: 错误: 需要class, interface或enum
        shu[rt].sumx = 0;
        ^
0_0_26664781_7952\Main.java:33: 错误: 需要class, interface或enum
        return;
        ^
0_0_26664781_7952\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:36: 错误: 需要class, interface或enum
    build(rt<<1,l,mid);
    ^
0_0_26664781_7952\Main.java:37: 错误: 需要class, interface或enum
    build(rt<<1|1,mid+1,r);
    ^
0_0_26664781_7952\Main.java:38: 错误: 需要class, interface或enum
    pushup(rt);
    ^
0_0_26664781_7952\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_26664781_7952\Main.java:45: 错误: 需要class, interface或enum
        shu[rt<<1|1].lazy += shu[rt].lazy;
        ^
0_0_26664781_7952\Main.java:47: 错误: 需要class, interface或enum
        shu[rt<<1].sum += (shu[rt<<1].r-shu[rt<<1].l+1)*shu[rt].lazy;
        ^
0_0_26664781_7952\Main.java:48: 错误: 需要class, interface或enum
        shu[rt<<1|1].sum +=(shu[rt<<1|1].r-shu[rt<<1|1].l+1)*shu[rt].lazy;
        ^
0_0_26664781_7952\Main.java:50: 错误: 需要class, interface或enum
        shu[rt].lazy = 0;
        ^
0_0_26664781_7952\Main.java:51: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:57: 错误: 需要class, interface或enum
    if(l<=L&&R<=r)
    ^
0_0_26664781_7952\Main.java:60: 错误: 需要class, interface或enum
        shu[rt].lazy += 1;
        ^
0_0_26664781_7952\Main.java:61: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:65: 错误: 需要class, interface或enum
        int mid = (L+R)>>1;
        ^
0_0_26664781_7952\Main.java:66: 错误: 需要class, interface或enum
        if(l<=mid) update(rt<<1,l,r);
        ^
0_0_26664781_7952\Main.java:67: 错误: 需要class, interface或enum
        if(mid<r) update(rt<<1|1,l,r);
        ^
0_0_26664781_7952\Main.java:68: 错误: 需要class, interface或enum
        pushup(rt);
        ^
0_0_26664781_7952\Main.java:69: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:74: 错误: 需要class, interface或enum
    int L = shu[rt].l, R = shu[rt].r;
    ^
0_0_26664781_7952\Main.java:75: 错误: 需要class, interface或enum
    if(L==R)
    ^
0_0_26664781_7952\Main.java:78: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:82: 错误: 需要class, interface或enum
        int mid = (L+R)>>1;
        ^
0_0_26664781_7952\Main.java:83: 错误: 需要class, interface或enum
        if(l<=mid) update1(rt<<1,l,r);
        ^
0_0_26664781_7952\Main.java:84: 错误: 需要class, interface或enum
        if(mid<r) update1(rt<<1|1,l,r);
        ^
0_0_26664781_7952\Main.java:85: 错误: 需要class, interface或enum
        pushup(rt);
        ^
0_0_26664781_7952\Main.java:86: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:91: 错误: 需要class, interface或enum
    if(l<=L&&R<=r)
    ^
0_0_26664781_7952\Main.java:94: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:98: 错误: 需要class, interface或enum
        pushdown(rt);
        ^
0_0_26664781_7952\Main.java:99: 错误: 需要class, interface或enum
        int mid = (L+R)>>1;
        ^
0_0_26664781_7952\Main.java:100: 错误: 需要class, interface或enum
        if(l<=mid) ans+=Find(rt<<1,l,r);
        ^
0_0_26664781_7952\Main.java:101: 错误: 需要class, interface或enum
        if(mid<r) ans+=Find(rt<<1|1,l,r);
        ^
0_0_26664781_7952\Main.java:102: 错误: 需要class, interface或enum
        pushup(rt);
        ^
0_0_26664781_7952\Main.java:103: 错误: 需要class, interface或enum
        return ans;
        ^
0_0_26664781_7952\Main.java:104: 错误: 需要class, interface或enum
    }
    ^
0_0_26664781_7952\Main.java:109: 错误: 需要class, interface或enum
    while(scanf("%d%d",&n,&m)==2)
    ^
0_0_26664781_7952\Main.java:111: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
                    ^
0_0_26664781_7952\Main.java:111: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
                         ^
0_0_26664781_7952\Main.java:114: 错误: 需要class, interface或enum
        }
        ^
0_0_26664781_7952\Main.java:116: 错误: 需要class, interface或enum
        while(m--)
        ^
0_0_26664781_7952\Main.java:119: 错误: 需要class, interface或enum
            scanf("%s",s);
            ^
0_0_26664781_7952\Main.java:120: 错误: 需要class, interface或enum
            int l,r;
            ^
0_0_26664781_7952\Main.java:121: 错误: 需要class, interface或enum
            scanf("%d%d",&l,&r);
            ^
0_0_26664781_7952\Main.java:122: 错误: 需要class, interface或enum
            if(s[0]=='q')
            ^
0_0_26664781_7952\Main.java:125: 错误: 需要class, interface或enum
            }
            ^
0_0_26664781_7952\Main.java:129: 错误: 需要class, interface或enum
                update1(1,l,r);
                ^
0_0_26664781_7952\Main.java:130: 错误: 需要class, interface或enum
            }
            ^
69 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-17 10:44:15, Gzip enabled