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_13468222_28315.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13468222_28315.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13468222_28315.cpp:22:17: error: expected type-specifier before '(' token
  bool operator  (const Line &a) {
                 ^
0_0_13468222_28315.cpp:31:7: error: 'Line Line::operator=(const Line&)' cannot be overloaded
  Line operator = (const Line &a) {
       ^
0_0_13468222_28315.cpp:28:7: error: with 'bool Line::operator=(const Line&)'
  bool operator = (const Line &a) {
       ^
0_0_13468222_28315.cpp: In member function 'bool Line::operator=(const Line&)':
0_0_13468222_28315.cpp:29:11: error: cannot convert 'Line' to 'bool' in return
   return *this  a || *this == a;
           ^
0_0_13468222_28315.cpp:29:17: error: expected ';' before 'a'
   return *this  a || *this == a;
                 ^
0_0_13468222_28315.cpp:29:19: error: no match for 'operator||' (operand types are 'const Line' and 'bool')
   return *this  a || *this == a;
                   ^
0_0_13468222_28315.cpp:29:19: note: candidate is:
0_0_13468222_28315.cpp:29:19: note: operator||(bool, bool) <built-in>
0_0_13468222_28315.cpp:29:19: note:   no known conversion for argument 1 from 'const Line' to 'bool'
0_0_13468222_28315.cpp: In function 'void init()':
0_0_13468222_28315.cpp:42:22: error: 'scanf' was not declared in this scope
  scanf("%d%d", &n, &L);
                      ^
0_0_13468222_28315.cpp:45:3: error: expected ';' before 'p'
   p[i].x = i;
   ^
0_0_13468222_28315.cpp:45:13: error: expected ')' before ';' token
   p[i].x = i;
             ^
0_0_13468222_28315.cpp:46:11: error: 'i' was not declared in this scope
   if (str[i] == '0') p[i].y = y;
           ^
0_0_13468222_28315.cpp: At global scope:
0_0_13468222_28315.cpp:49:1: error: expected declaration before '}' token
 }
 ^


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-25 14:23:30, Gzip enabled