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_14524410_6184.cpp:21:5: error: stray '\241' in program
     if(type == ¡®H¡®) {
     ^
0_0_14524410_6184.cpp:21:5: error: stray '\256' in program
0_0_14524410_6184.cpp:21:5: error: stray '\241' in program
0_0_14524410_6184.cpp:21:5: error: stray '\256' in program
0_0_14524410_6184.cpp:38:5: error: stray '\241' in program
     if(type == ¡®H¡®) {
     ^
0_0_14524410_6184.cpp:38:5: error: stray '\256' in program
0_0_14524410_6184.cpp:38:5: error: stray '\241' in program
0_0_14524410_6184.cpp:38:5: error: stray '\256' in program
0_0_14524410_6184.cpp:52:13: error: stray '\241' in program
             if(check(H[i].x, H[i].color, ¡®H¡®)) {
             ^
0_0_14524410_6184.cpp:52:13: error: stray '\256' in program
0_0_14524410_6184.cpp:52:13: error: stray '\241' in program
0_0_14524410_6184.cpp:52:13: error: stray '\256' in program
0_0_14524410_6184.cpp:53:17: error: stray '\241' in program
                 setColor(H[i].x, ¡®H¡®);
                 ^
0_0_14524410_6184.cpp:53:17: error: stray '\256' in program
0_0_14524410_6184.cpp:53:17: error: stray '\241' in program
0_0_14524410_6184.cpp:53:17: error: stray '\256' in program
0_0_14524410_6184.cpp:60:13: error: stray '\241' in program
             if(check(L[i].x, L[i].color, ¡®L¡®)) {
             ^
0_0_14524410_6184.cpp:60:13: error: stray '\256' in program
0_0_14524410_6184.cpp:60:13: error: stray '\241' in program
0_0_14524410_6184.cpp:60:13: error: stray '\256' in program
0_0_14524410_6184.cpp:61:17: error: stray '\241' in program
                 setColor(L[i].x, ¡®L¡®);
                 ^
0_0_14524410_6184.cpp:61:17: error: stray '\256' in program
0_0_14524410_6184.cpp:61:17: error: stray '\241' in program
0_0_14524410_6184.cpp:61:17: error: stray '\256' in program
0_0_14524410_6184.cpp:92:13: error: stray '\241' in program
             if(oper[0] == ¡®H¡®) H[nh++] = Oper(x, color, i);
             ^
0_0_14524410_6184.cpp:92:13: error: stray '\256' in program
0_0_14524410_6184.cpp:92:13: error: stray '\241' in program
0_0_14524410_6184.cpp:92:13: error: stray '\256' in program
0_0_14524410_6184.cpp: In function 'int check(int, int, char)':
0_0_14524410_6184.cpp:21:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(type == ¡®H¡®) {
                  ^
0_0_14524410_6184.cpp: In function 'void setColor(int, char)':
0_0_14524410_6184.cpp:38:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(type == ¡®H¡®) {
                  ^
0_0_14524410_6184.cpp: In function 'void solve()':
0_0_14524410_6184.cpp:52:47: error: invalid conversion from 'Oper*' to 'char' [-fpermissive]
             if(check(H[i].x, H[i].color, ¡®H¡®)) {
                                               ^
0_0_14524410_6184.cpp:20:5: note: initializing argument 3 of 'int check(int, int, char)'
 int check(int x, int color, char type) {
     ^
0_0_14524410_6184.cpp:53:39: error: invalid conversion from 'Oper*' to 'char' [-fpermissive]
                 setColor(H[i].x, ¡®H¡®);
                                       ^
0_0_14524410_6184.cpp:37:6: note: initializing argument 2 of 'void setColor(int, char)'
 void setColor(int x, char type) {
      ^
0_0_14524410_6184.cpp:60:47: error: invalid conversion from 'Oper*' to 'char' [-fpermissive]
             if(check(L[i].x, L[i].color, ¡®L¡®)) {
                                               ^
0_0_14524410_6184.cpp:20:5: note: initializing argument 3 of 'int check(int, int, char)'
 int check(int x, int color, char type) {
     ^
0_0_14524410_6184.cpp:61:39: error: invalid conversion from 'Oper*' to 'char' [-fpermissive]
                 setColor(L[i].x, ¡®L¡®);
                                       ^
0_0_14524410_6184.cpp:37:6: note: initializing argument 2 of 'void setColor(int, char)'
 void setColor(int x, char type) {
      ^
0_0_14524410_6184.cpp: In function 'int main()':
0_0_14524410_6184.cpp:92:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if(oper[0] == ¡®H¡®) H[nh++] = Oper(x, color, i);
                             ^


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-09-28 03:31:14, Gzip enabled