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_37818219_3433.cpp:46:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_37818219_3433.cpp:46:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_37818219_3433.cpp:50:11: error: redefinition of 'const int N'
 const int N = 300010;
           ^
0_0_37818219_3433.cpp:10:11: note: 'const int N' previously defined here
 const int N = 3e5 + 10;
           ^
0_0_37818219_3433.cpp:51:5: error: redefinition of 'int n'
 int n, m, p[N];
     ^
0_0_37818219_3433.cpp:13:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_37818219_3433.cpp:51:8: error: redefinition of 'int m'
 int n, m, p[N];
        ^
0_0_37818219_3433.cpp:13:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_37818219_3433.cpp: In function 'void solve()':
0_0_37818219_3433.cpp:59:6: error: redefinition of 'void solve()'
 void solve() {
      ^
0_0_37818219_3433.cpp:19:6: note: 'void solve()' previously defined here
 void solve() {
      ^
0_0_37818219_3433.cpp: In function 'int main()':
0_0_37818219_3433.cpp:77:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_37818219_3433.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 07:11:34, Gzip enabled