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_39154859_14801.cpp:38:3: error: stray '#' in program
   38 | } #include<iostream>
      |   ^
0_0_39154859_14801.cpp:38:4: error: 'include' does not name a type
   38 | } #include<iostream>
      |    ^~~~~~~
0_0_39154859_14801.cpp:41:11: error: redefinition of 'const int N'
   41 | const int N = 1e5 + 10;
      |           ^
0_0_39154859_14801.cpp:4:11: note: 'const int N' previously defined here
    4 | const int N = 1e5 + 10;
      |           ^
0_0_39154859_14801.cpp:42:5: error: redefinition of 'int n'
   42 | int n;
      |     ^
0_0_39154859_14801.cpp:5:5: note: 'int n' previously declared here
    5 | int n;
      |     ^
0_0_39154859_14801.cpp:43:5: error: redefinition of 'int a [100010]'
   43 | int a[N], s[N];
      |     ^
0_0_39154859_14801.cpp:6:5: note: 'int a [100010]' previously declared here
    6 | int a[N], s[N];
      |     ^
0_0_39154859_14801.cpp:43:11: error: redefinition of 'int s [100010]'
   43 | int a[N], s[N];
      |           ^
0_0_39154859_14801.cpp:6:11: note: 'int s [100010]' previously declared here
    6 | int a[N], s[N];
      |           ^
0_0_39154859_14801.cpp:44:4: error: redefinition of 'll Min'
   44 | ll Min, Max;
      |    ^~~
0_0_39154859_14801.cpp:7:4: note: 'll Min' previously declared here
    7 | ll Min, Max;
      |    ^~~
0_0_39154859_14801.cpp:44:9: error: redefinition of 'll Max'
   44 | ll Min, Max;
      |         ^~~
0_0_39154859_14801.cpp:7:9: note: 'll Max' previously declared here
    7 | ll Min, Max;
      |         ^~~
0_0_39154859_14801.cpp:45:4: error: redefinition of 'll num'
   45 | ll num, ans;
      |    ^~~
0_0_39154859_14801.cpp:8:4: note: 'll num' previously declared here
    8 | ll num, ans;
      |    ^~~
0_0_39154859_14801.cpp:45:9: error: redefinition of 'll ans'
   45 | ll num, ans;
      |         ^~~
0_0_39154859_14801.cpp:8:9: note: 'll ans' previously declared here
    8 | ll num, ans;
      |         ^~~
0_0_39154859_14801.cpp:47:5: error: redefinition of 'int main()'
   47 | int main(){
      |     ^~~~
0_0_39154859_14801.cpp:10:5: note: 'int main()' previously defined here
   10 | 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-02 21:31:22, Gzip enabled