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_6312599_8684\Main.java:1: illegal character: \35
#include <iostream>
^
0_0_6312599_8684\Main.java:2: illegal character: \35
#include <cstdio>
^
0_0_6312599_8684\Main.java:3: illegal character: \35
#include <cstring>
^
0_0_6312599_8684\Main.java:5: class, interface, or enum expected
const int N=100005;
^
0_0_6312599_8684\Main.java:6: class, interface, or enum expected
int c[N];
^
0_0_6312599_8684\Main.java:7: class, interface, or enum expected
int n;
^
0_0_6312599_8684\Main.java:8: class, interface, or enum expected
int lowbit(int i) {
^
0_0_6312599_8684\Main.java:10: class, interface, or enum expected
}
^
0_0_6312599_8684\Main.java:14: class, interface, or enum expected
	for (int i = x; i > 0; i -= lowbit(i))
	^
0_0_6312599_8684\Main.java:14: class, interface, or enum expected
	for (int i = x; i > 0; i -= lowbit(i))
	                ^
0_0_6312599_8684\Main.java:14: class, interface, or enum expected
	for (int i = x; i > 0; i -= lowbit(i))
	                       ^
0_0_6312599_8684\Main.java:16: class, interface, or enum expected
	return sum;
	^
0_0_6312599_8684\Main.java:17: class, interface, or enum expected
}
^
0_0_6312599_8684\Main.java:19: class, interface, or enum expected
	for (int i = n; i < c.length; i += lowbit(i))
	                ^
0_0_6312599_8684\Main.java:19: class, interface, or enum expected
	for (int i = n; i < c.length; i += lowbit(i))
	                              ^
0_0_6312599_8684\Main.java:21: class, interface, or enum expected
}
^
0_0_6312599_8684\Main.java:25: class, interface, or enum expected
    while(scanf("%d",&n),n)
    ^
0_0_6312599_8684\Main.java:28: class, interface, or enum expected
        for(int i=0;i<n;i++)
        ^
0_0_6312599_8684\Main.java:28: class, interface, or enum expected
        for(int i=0;i<n;i++)
                    ^
0_0_6312599_8684\Main.java:28: class, interface, or enum expected
        for(int i=0;i<n;i++)
                        ^
0_0_6312599_8684\Main.java:31: class, interface, or enum expected
            scanf("%d",&b);
            ^
0_0_6312599_8684\Main.java:32: class, interface, or enum expected
            update(a,1); 
            ^
0_0_6312599_8684\Main.java:33: class, interface, or enum expected
            update(b+1,-1);
            ^
0_0_6312599_8684\Main.java:34: class, interface, or enum expected
        }
        ^
0_0_6312599_8684\Main.java:35: class, interface, or enum expected
        for(int i=1;i<n;i++)
                    ^
0_0_6312599_8684\Main.java:35: class, interface, or enum expected
        for(int i=1;i<n;i++)
                        ^
0_0_6312599_8684\Main.java:37: class, interface, or enum expected
          printf("%d\n",get(n));
          ^
0_0_6312599_8684\Main.java:38: class, interface, or enum expected
    }
    ^
0_0_6312599_8684\Main.java:40: class, interface, or enum expected
    return 0;
    ^
0_0_6312599_8684\Main.java:41: class, interface, or enum expected
}


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-29 19:27:59, Gzip enabled