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_36600934_29458.cpp:86:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_36600934_29458.cpp:86:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_36600934_29458.cpp:94:11: error: redefinition of 'const int inf'
 const int inf=0x3f3f3f3f;
           ^
0_0_36600934_29458.cpp:9:11: note: 'const int inf' previously defined here
 const int inf=0x3f3f3f3f;
           ^
0_0_36600934_29458.cpp:95:5: error: redefinition of 'int n'
 int n,m,dp[maxn][maxm],mn[maxm][22];
     ^
0_0_36600934_29458.cpp:10:5: note: 'int n' previously declared here
 int n,m,dp[maxn][maxm],mn[maxm][22];
     ^
0_0_36600934_29458.cpp:95:7: error: redefinition of 'int m'
 int n,m,dp[maxn][maxm],mn[maxm][22];
       ^
0_0_36600934_29458.cpp:10:7: note: 'int m' previously declared here
 int n,m,dp[maxn][maxm],mn[maxm][22];
       ^
0_0_36600934_29458.cpp:95:22: error: redefinition of 'int dp [110][10010]'
 int n,m,dp[maxn][maxm],mn[maxm][22];
                      ^
0_0_36600934_29458.cpp:10:9: note: 'int dp [110][10010]' previously declared here
 int n,m,dp[maxn][maxm],mn[maxm][22];
         ^
0_0_36600934_29458.cpp:95:35: error: redefinition of 'int mn [10010][22]'
 int n,m,dp[maxn][maxm],mn[maxm][22];
                                   ^
0_0_36600934_29458.cpp:10:24: note: 'int mn [10010][22]' previously declared here
 int n,m,dp[maxn][maxm],mn[maxm][22];
                        ^
0_0_36600934_29458.cpp:96:12: error: redefinition of 'int ai [110]'
 int ai[maxn],ti[maxn];
            ^
0_0_36600934_29458.cpp:11:5: note: 'int ai [110]' previously declared here
 int ai[maxn],ti[maxn];
     ^
0_0_36600934_29458.cpp:96:21: error: redefinition of 'int ti [110]'
 int ai[maxn],ti[maxn];
                     ^
0_0_36600934_29458.cpp:11:14: note: 'int ti [110]' previously declared here
 int ai[maxn],ti[maxn];
              ^
0_0_36600934_29458.cpp: In function 'void build(int)':
0_0_36600934_29458.cpp:98:13: error: redefinition of 'void build(int)'
 inline void build(int idx){
             ^
0_0_36600934_29458.cpp:13:13: note: 'void build(int)' previously defined here
 inline void build(int idx){
             ^
0_0_36600934_29458.cpp: In function 'int query(int, int)':
0_0_36600934_29458.cpp:111:5: error: redefinition of 'int query(int, int)'
 int query(int l,int r){
     ^
0_0_36600934_29458.cpp:26:5: note: 'int query(int, int)' previously defined here
 int query(int l,int r){
     ^
0_0_36600934_29458.cpp: In function 'int main()':
0_0_36600934_29458.cpp:122:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_36600934_29458.cpp:37:5: note: 'int main()' previously defined here
 int main(){
     ^


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-26 17:01:04, Gzip enabled