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_22198858_27915.cpp:63:15: error: stray '#' in program
 int T, n, len;#include <bits/stdc++.h>
               ^
0_0_22198858_27915.cpp:63:16: error: 'include' does not name a type
 int T, n, len;#include <bits/stdc++.h>
                ^
0_0_22198858_27915.cpp: In function 'void err()':
0_0_22198858_27915.cpp:73:6: error: redefinition of 'void err()'
 void err() { cout << "\033[39m" << endl; }
      ^
0_0_22198858_27915.cpp:11:6: note: 'void err()' previously defined here
 void err() { cout << "\033[39m" << endl; }
      ^
0_0_22198858_27915.cpp: At global scope:
0_0_22198858_27915.cpp:75:6: error: redefinition of 'template<class T, class ... Args> void err(T, Args ...)'
 void err(T a, Args... args) { cout << a << ' '; err(args...); }
      ^
0_0_22198858_27915.cpp:13:6: note: 'template<class T, class ... Args> void err(T, Args ...)' previously declared here
 void err(T a, Args... args) { cout << a << ' '; err(args...); }
      ^
0_0_22198858_27915.cpp:77:11: error: redefinition of 'const int maxn'
 const int maxn = 50000 + 10;
           ^
0_0_22198858_27915.cpp:15:11: note: 'const int maxn' previously defined here
 const int maxn = 50000 + 10;
           ^
0_0_22198858_27915.cpp:78:11: error: redefinition of 'const int maxnode'
 const int maxnode = maxn << 2;
           ^
0_0_22198858_27915.cpp:16:11: note: 'const int maxnode' previously defined here
 const int maxnode = maxn << 2;
           ^
0_0_22198858_27915.cpp:79:14: error: redefinition of 'int a [200040]'
 int a[maxnode];
              ^
0_0_22198858_27915.cpp:17:5: note: 'int a [200040]' previously declared here
 int a[maxnode];
     ^
0_0_22198858_27915.cpp:80:8: error: redefinition of 'struct IntervalTree'
 struct IntervalTree {
        ^
0_0_22198858_27915.cpp:18:8: error: previous definition of 'struct IntervalTree'
 struct IntervalTree {
        ^
0_0_22198858_27915.cpp:123:5: error: invalid type in declaration before ';' token
 } IT;
     ^
0_0_22198858_27915.cpp:123:5: error: conflicting declaration 'int IT'
0_0_22198858_27915.cpp:61:3: note: previous declaration as 'IntervalTree IT'
 } IT;
   ^
0_0_22198858_27915.cpp:125:5: error: redefinition of 'int T'
 int T, n, len;
     ^
0_0_22198858_27915.cpp:63:5: note: 'int T' previously declared here
 int T, n, len;#include <bits/stdc++.h>
     ^
0_0_22198858_27915.cpp:125:8: error: redefinition of 'int n'
 int T, n, len;
        ^
0_0_22198858_27915.cpp:63:8: note: 'int n' previously declared here
 int T, n, len;#include <bits/stdc++.h>
        ^
0_0_22198858_27915.cpp:125:11: error: redefinition of 'int len'
 int T, n, len;
           ^
0_0_22198858_27915.cpp:63:11: note: 'int len' previously declared here
 int T, n, len;#include <bits/stdc++.h>
           ^
0_0_22198858_27915.cpp:145:12: error: redefinition of 'char s [1000]'
 char s[1000];
            ^
0_0_22198858_27915.cpp:126:6: note: 'char s [1000]' previously declared here
 char s[1000];
      ^
0_0_22198858_27915.cpp: In function 'int main()':
0_0_22198858_27915.cpp:146:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_22198858_27915.cpp:127: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-12-06 03:38:08, Gzip enabled