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_38918077_25349.cpp:54:2: error: stray '#' in program
   54 | }#include<bits/stdc++.h>
      |  ^
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:11: error: 'bits' was not declared in this scope
   54 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38918077_25349.cpp:54:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   54 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38918077_25349.cpp:54:3: error: 'include' does not name a type
   54 | }#include<bits/stdc++.h>
      |   ^~~~~~~
0_0_38918077_25349.cpp:56:11: error: redefinition of 'const int MAXN'
   56 | const int MAXN=1005,MAXM=1e7+5;
      |           ^~~~
0_0_38918077_25349.cpp:3:11: note: 'const int MAXN' previously defined here
    3 | const int MAXN=1005,MAXM=1e7+5;
      |           ^~~~
0_0_38918077_25349.cpp:56:21: error: redefinition of 'const int MAXM'
   56 | const int MAXN=1005,MAXM=1e7+5;
      |                     ^~~~
0_0_38918077_25349.cpp:3:21: note: 'const int MAXM' previously defined here
    3 | const int MAXN=1005,MAXM=1e7+5;
      |                     ^~~~
0_0_38918077_25349.cpp:57:14: error: redefinition of 'const double inf'
   57 | const double inf=1e18;
      |              ^~~
0_0_38918077_25349.cpp:4:14: note: 'const double inf' previously defined here
    4 | const double inf=1e18;
      |              ^~~
0_0_38918077_25349.cpp:58:6: error: redefinition of 'bool isc [10000005]'
   58 | bool isc[MAXM];
      |      ^~~
0_0_38918077_25349.cpp:5:6: note: 'bool isc [10000005]' previously declared here
    5 | bool isc[MAXM];
      |      ^~~
0_0_38918077_25349.cpp:59:5: error: redefinition of 'int pf [10000005]'
   59 | int pf[MAXM];
      |     ^~
0_0_38918077_25349.cpp:6:5: note: 'int pf [10000005]' previously declared here
    6 | int pf[MAXM];
      |     ^~
0_0_38918077_25349.cpp:60:14: error: redefinition of 'std::vector<int> pr'
   60 | vector <int> pr;
      |              ^~
0_0_38918077_25349.cpp:7:14: note: 'std::vector<int> pr' previously defined here
    7 | vector <int> pr;
      |              ^~
0_0_38918077_25349.cpp:61:5: error: redefinition of 'int n'
   61 | int n,k,a[MAXN<<1];
      |     ^
0_0_38918077_25349.cpp:8:5: note: 'int n' previously declared here
    8 | int n,k,a[MAXN<<1];
      |     ^
0_0_38918077_25349.cpp:61:7: error: redefinition of 'int k'
   61 | int n,k,a[MAXN<<1];
      |       ^
0_0_38918077_25349.cpp:8:7: note: 'int k' previously declared here
    8 | int n,k,a[MAXN<<1];
      |       ^
0_0_38918077_25349.cpp:61:9: error: redefinition of 'int a [2010]'
   61 | int n,k,a[MAXN<<1];
      |         ^
0_0_38918077_25349.cpp:8:9: note: 'int a [2010]' previously declared here
    8 | int n,k,a[MAXN<<1];
      |         ^
0_0_38918077_25349.cpp:62:8: error: redefinition of 'double lg [10000005]'
   62 | double lg[MAXM],dp[MAXN][MAXN];
      |        ^~
0_0_38918077_25349.cpp:9:8: note: 'double lg [10000005]' previously declared here
    9 | double lg[MAXM],dp[MAXN][MAXN];
      |        ^~
0_0_38918077_25349.cpp:62:17: error: redefinition of 'double dp [1005][1005]'
   62 | double lg[MAXM],dp[MAXN][MAXN];
      |                 ^~
0_0_38918077_25349.cpp:9:17: note: 'double dp [1005][1005]' previously declared here
    9 | double lg[MAXM],dp[MAXN][MAXN];
      |                 ^~
0_0_38918077_25349.cpp:63:5: error: redefinition of 'int op [1005][1005]'
   63 | int op[MAXN][MAXN],sum[MAXN];
      |     ^~
0_0_38918077_25349.cpp:10:5: note: 'int op [1005][1005]' previously declared here
   10 | int op[MAXN][MAXN],sum[MAXN];
      |     ^~
0_0_38918077_25349.cpp:63:20: error: redefinition of 'int sum [1005]'
   63 | int op[MAXN][MAXN],sum[MAXN];
      |                    ^~~
0_0_38918077_25349.cpp:10:20: note: 'int sum [1005]' previously declared here
   10 | int op[MAXN][MAXN],sum[MAXN];
      |                    ^~~
0_0_38918077_25349.cpp:64:9: error: redefinition of 'std::mt19937 rnd'
   64 | mt19937 rnd(time(0));
      |         ^~~
0_0_38918077_25349.cpp:11:9: note: 'std::mt19937 rnd' previously declared here
   11 | mt19937 rnd(time(0));
      |         ^~~
0_0_38918077_25349.cpp:65:13: error: redefinition of 'void DP(int, int, int, int, double*, double*, int*)'
   65 | inline void DP(int l,int r,int L,int R,double *g,double *f,int *pos) {
      |             ^~
0_0_38918077_25349.cpp:12:13: note: 'void DP(int, int, int, int, double*, double*, int*)' previously defined here
   12 | inline void DP(int l,int r,int L,int R,double *g,double *f,int *pos) {
      |             ^~
0_0_38918077_25349.cpp:74:13: error: redefinition of 'void solve()'
   74 | inline void solve() {
      |             ^~~~~
0_0_38918077_25349.cpp:21:13: note: 'void solve()' previously defined here
   21 | inline void solve() {
      |             ^~~~~
0_0_38918077_25349.cpp:96:8: error: redefinition of 'int main()'
   96 | signed main() {
      |        ^~~~
0_0_38918077_25349.cpp:43:8: note: 'int main()' previously defined here
   43 | signed 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-23 04:12:34, Gzip enabled