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_5938981_16235\Main.java:1: illegal character: \35
#include <cstdlib>
^
0_0_5938981_16235\Main.java:2: illegal character: \35
#include <cstring>
^
0_0_5938981_16235\Main.java:3: illegal character: \35
#include <cstdio>
^
0_0_5938981_16235\Main.java:4: illegal character: \35
#include <algorithm>
^
0_0_5938981_16235\Main.java:5: illegal character: \35
#include <map>
^
0_0_5938981_16235\Main.java:6: illegal character: \35
#define MAXN 32005 
^
0_0_5938981_16235\Main.java:9: class, interface, or enum expected
int N, res[MAXN+5], c[MAXN+5];
^
0_0_5938981_16235\Main.java:11: class, interface, or enum expected
inline int lowbit(int x)
^
0_0_5938981_16235\Main.java:14: class, interface, or enum expected
}
^
0_0_5938981_16235\Main.java:18: class, interface, or enum expected
for (int i = pos; i <= MAXN; i += lowbit(i))
                  ^
0_0_5938981_16235\Main.java:18: class, interface, or enum expected
for (int i = pos; i <= MAXN; i += lowbit(i))
                             ^
0_0_5938981_16235\Main.java:20: class, interface, or enum expected
}
^
0_0_5938981_16235\Main.java:25: class, interface, or enum expected
for (int i = pos; i > 0; i -= lowbit(i))
^
0_0_5938981_16235\Main.java:25: class, interface, or enum expected
for (int i = pos; i > 0; i -= lowbit(i))
                  ^
0_0_5938981_16235\Main.java:25: class, interface, or enum expected
for (int i = pos; i > 0; i -= lowbit(i))
                         ^
0_0_5938981_16235\Main.java:28: class, interface, or enum expected
}
^
0_0_5938981_16235\Main.java:30: class, interface, or enum expected
}
^
0_0_5938981_16235\Main.java:35: class, interface, or enum expected
while (scanf("%d", &N) == 1)
^
0_0_5938981_16235\Main.java:38: class, interface, or enum expected
 memset(res, 0, sizeof (res));
 ^
0_0_5938981_16235\Main.java:39: class, interface, or enum expected
for (int i = 0; i < N; ++i)
^
0_0_5938981_16235\Main.java:39: class, interface, or enum expected
for (int i = 0; i < N; ++i)
                ^
0_0_5938981_16235\Main.java:39: class, interface, or enum expected
for (int i = 0; i < N; ++i)
                       ^
0_0_5938981_16235\Main.java:42: class, interface, or enum expected
x++; 
^
0_0_5938981_16235\Main.java:43: class, interface, or enum expected
res[getsum(x)]++;
^
0_0_5938981_16235\Main.java:44: class, interface, or enum expected
 modify(x, 1);
 ^
0_0_5938981_16235\Main.java:45: class, interface, or enum expected
 }
 ^
0_0_5938981_16235\Main.java:46: class, interface, or enum expected
for (int i = 0; i < N; ++i)
                ^
0_0_5938981_16235\Main.java:46: class, interface, or enum expected
for (int i = 0; i < N; ++i)
                       ^
0_0_5938981_16235\Main.java:48: class, interface, or enum expected
 }
 ^
0_0_5938981_16235\Main.java:50: 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-16 12:05:53, Gzip enabled