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_39125394_32324.cpp:92:2: error: stray '#' in program
   92 | }#include <iostream>
      |  ^
0_0_39125394_32324.cpp:92:3: error: 'include' does not name a type
   92 | }#include <iostream>
      |   ^~~~~~~
0_0_39125394_32324.cpp:101:11: error: redefinition of 'const long long int N'
  101 | const int N = 2e5 + 10;
      |           ^
0_0_39125394_32324.cpp:10:11: note: 'const long long int N' previously defined here
   10 | const int N = 2e5 + 10;
      |           ^
0_0_39125394_32324.cpp:102:5: error: redefinition of 'long long int L'
  102 | int L, R, n;
      |     ^
0_0_39125394_32324.cpp:11:5: note: 'long long int L' previously declared here
   11 | int L, R, n;
      |     ^
0_0_39125394_32324.cpp:102:8: error: redefinition of 'long long int R'
  102 | int L, R, n;
      |        ^
0_0_39125394_32324.cpp:11:8: note: 'long long int R' previously declared here
   11 | int L, R, n;
      |        ^
0_0_39125394_32324.cpp:102:11: error: redefinition of 'long long int n'
  102 | int L, R, n;
      |           ^
0_0_39125394_32324.cpp:11:11: note: 'long long int n' previously declared here
   11 | int L, R, n;
      |           ^
0_0_39125394_32324.cpp:103:8: error: redefinition of 'struct point'
  103 | struct point {
      |        ^~~~~
0_0_39125394_32324.cpp:12:8: note: previous definition of 'struct point'
   12 | struct point {
      |        ^~~~~
0_0_39125394_32324.cpp:106:2: error: conflicting declaration 'int tr [800040]'
  106 | }tr[N * 4];
      |  ^~
0_0_39125394_32324.cpp:15:2: note: previous declaration as 'point tr [800040]'
   15 | }tr[N * 4];
      |  ^~
0_0_39125394_32324.cpp:108:6: error: redefinition of 'void push_up(long long int)'
  108 | void push_up(int u) {
      |      ^~~~~~~
0_0_39125394_32324.cpp:17:6: note: 'void push_up(long long int)' previously defined here
   17 | void push_up(int u) {
      |      ^~~~~~~
0_0_39125394_32324.cpp:112:6: error: redefinition of 'void push_down(long long int)'
  112 | void push_down(int u) {
      |      ^~~~~~~~~
0_0_39125394_32324.cpp:21:6: note: 'void push_down(long long int)' previously defined here
   21 | void push_down(int u) {
      |      ^~~~~~~~~
0_0_39125394_32324.cpp:122:6: error: redefinition of 'void build(long long int, long long int, long long int)'
  122 | void build(int u, int l, int r) {
      |      ^~~~~
0_0_39125394_32324.cpp:31:6: note: 'void build(long long int, long long int, long long int)' previously defined here
   31 | void build(int u, int l, int r) {
      |      ^~~~~
0_0_39125394_32324.cpp:134:6: error: redefinition of 'void modify(long long int, long long int, long long int, long long int)'
  134 | void modify(int u, int l, int r, int c) {
      |      ^~~~~~
0_0_39125394_32324.cpp:43:6: note: 'void modify(long long int, long long int, long long int, long long int)' previously defined here
   43 | void modify(int u, int l, int r, int c) {
      |      ^~~~~~
0_0_39125394_32324.cpp:148:5: error: redefinition of 'long long int query(long long int, long long int, long long int)'
  148 | int query(int u, int l, int r) {
      |     ^~~~~
0_0_39125394_32324.cpp:57:5: note: 'long long int query(long long int, long long int, long long int)' previously defined here
   57 | int query(int u, int l, int r) {
      |     ^~~~~
0_0_39125394_32324.cpp:162:6: error: redefinition of 'void solve()'
  162 | void solve() {
      |      ^~~~~
0_0_39125394_32324.cpp:71:6: note: 'void solve()' previously defined here
   71 | void solve() {
      |      ^~~~~
0_0_39125394_32324.cpp:179:8: error: redefinition of 'int main()'
  179 | signed main()
      |        ^~~~
0_0_39125394_32324.cpp:88:8: note: 'int main()' previously defined here
   88 | 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-12-05 03:01:32, Gzip enabled