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_30120251_23332.cpp:97:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_30120251_23332.cpp:97:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_30120251_23332.cpp:109:17: error: redefinition of 'char buffer [100000]'
 char buffer[maxr], *p1, *p2;
                 ^
0_0_30120251_23332.cpp:13:6: note: 'char buffer [100000]' previously declared here
 char buffer[maxr], *p1, *p2;
      ^
0_0_30120251_23332.cpp:109:21: error: redefinition of 'char* p1'
 char buffer[maxr], *p1, *p2;
                     ^
0_0_30120251_23332.cpp:13:21: note: 'char* p1' previously declared here
 char buffer[maxr], *p1, *p2;
                     ^
0_0_30120251_23332.cpp:109:26: error: redefinition of 'char* p2'
 char buffer[maxr], *p1, *p2;
                          ^
0_0_30120251_23332.cpp:13:26: note: 'char* p2' previously declared here
 char buffer[maxr], *p1, *p2;
                          ^
0_0_30120251_23332.cpp:110:25: error: redefinition of 'template<class T> void read(T&)'
 template <class T> void read(T& x){
                         ^
0_0_30120251_23332.cpp:14:25: note: 'template<class T> void read(T&)' previously declared here
 template <class T> void read(T& x){
                         ^
0_0_30120251_23332.cpp:117:8: error: redefinition of 'struct ele'
 struct ele{
        ^
0_0_30120251_23332.cpp:21:8: error: previous definition of 'struct ele'
 struct ele{
        ^
0_0_30120251_23332.cpp:124:22: error: invalid type in declaration before ';' token
 }lis[maxn * maxn * 2];
                      ^
0_0_30120251_23332.cpp:124:22: error: conflicting declaration 'int lis [882]'
0_0_30120251_23332.cpp:28:2: note: previous declaration as 'ele lis [882]'
 }lis[maxn * maxn * 2];
  ^
0_0_30120251_23332.cpp:125:5: error: redefinition of 'int cs'
 int cs = 0;
     ^
0_0_30120251_23332.cpp:29:5: note: 'int cs' previously defined here
 int cs = 0;
     ^
0_0_30120251_23332.cpp:126:5: error: redefinition of 'int n'
 int n; ll k;
     ^
0_0_30120251_23332.cpp:30:5: note: 'int n' previously declared here
 int n; ll k;
     ^
0_0_30120251_23332.cpp:126:11: error: redefinition of 'long long int k'
 int n; ll k;
           ^
0_0_30120251_23332.cpp:30:11: note: 'long long int k' previously declared here
 int n; ll k;
           ^
0_0_30120251_23332.cpp:127:12: error: redefinition of 'long long int fac [21]'
 ll fac[maxn];
            ^
0_0_30120251_23332.cpp:31:4: note: 'long long int fac [21]' previously declared here
 ll fac[maxn];
    ^
0_0_30120251_23332.cpp:128:13: error: redefinition of 'int ans [21]'
 int ans[maxn];
             ^
0_0_30120251_23332.cpp:32:5: note: 'int ans [21]' previously declared here
 int ans[maxn];
     ^
0_0_30120251_23332.cpp:129:14: error: redefinition of 'bool vis [21]'
 bool vis[maxn];
              ^
0_0_30120251_23332.cpp:33:6: note: 'bool vis [21]' previously declared here
 bool vis[maxn];
      ^
0_0_30120251_23332.cpp: In function 'void init()':
0_0_30120251_23332.cpp:130:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_30120251_23332.cpp:34:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_30120251_23332.cpp: At global scope:
0_0_30120251_23332.cpp:134:8: error: redefinition of 'struct ele2'
 struct ele2{
        ^
0_0_30120251_23332.cpp:38:8: error: previous definition of 'struct ele2'
 struct ele2{
        ^
0_0_30120251_23332.cpp:142:11: error: invalid type in declaration before ';' token
 }per[maxb];
           ^
0_0_30120251_23332.cpp:142:11: error: conflicting declaration 'int per [1000000]'
0_0_30120251_23332.cpp:46:2: note: previous declaration as 'ele2 per [1000000]'
 }per[maxb];
  ^
0_0_30120251_23332.cpp:143:11: error: redefinition of 'int a [21]'
 int a[maxn];
           ^
0_0_30120251_23332.cpp:47:5: note: 'int a [21]' previously declared here
 int a[maxn];
     ^
0_0_30120251_23332.cpp: In function 'int main()':
0_0_30120251_23332.cpp:144:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_30120251_23332.cpp:48: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-22 21:59:04, Gzip enabled