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_21594448_5710.cpp:14:15: error: stray '#' in program
         s[0]='$';
               ^
0_0_21594448_5710.cpp:14:21: error: stray '#' in program
         s[0]='$';
                     ^
0_0_21594448_5710.cpp:15:43: error: stray '#' in program
         for(i=0;ss[i];i++) s[(i << 1)+1]='#', s[(i << 1) + 2] = ss[i];
                                           ^
0_0_21594448_5710.cpp:15:47: error: stray '#' in program
         for(i=0;ss[i];i++) s[(i << 1)+1]='#', s[(i << 1) + 2] = ss[i];
                                               ^
0_0_21594448_5710.cpp:15:49: error: stray '#' in program
         for(i=0;ss[i];i++) s[(i << 1)+1]='#', s[(i << 1) + 2] = ss[i];
                                                 ^
0_0_21594448_5710.cpp:16:28: error: stray '#' in program
         s[(i << 1) + 1] = '#';
                            ^
0_0_21594448_5710.cpp:16:32: error: stray '#' in program
         s[(i << 1) + 1] = '#';
                                ^
0_0_21594448_5710.cpp:16:34: error: stray '#' in program
         s[(i << 1) + 1] = '#';
                                  ^
0_0_21594448_5710.cpp: In function 'int main()':
0_0_21594448_5710.cpp:14:16: error: lvalue required as unary '&' operand
         s[0]='$';
                ^
0_0_21594448_5710.cpp:14:19: error: '$' was not declared in this scope
         s[0]='$';
                   ^
0_0_21594448_5710.cpp:15:44: error: lvalue required as unary '&' operand
         for(i=0;ss[i];i++) s[(i << 1)+1]='#', s[(i << 1) + 2] = ss[i];
                                            ^
0_0_21594448_5710.cpp:15:50: error: lvalue required as unary '&' operand
         for(i=0;ss[i];i++) s[(i << 1)+1]='#', s[(i << 1) + 2] = ss[i];
                                                  ^
0_0_21594448_5710.cpp:15:53: error: expected primary-expression before ',' token
         for(i=0;ss[i];i++) s[(i << 1)+1]='#', s[(i << 1) + 2] = ss[i];
                                                     ^
0_0_21594448_5710.cpp:16:29: error: lvalue required as unary '&' operand
         s[(i << 1) + 1] = '#';
                             ^
0_0_21594448_5710.cpp:16:35: error: lvalue required as unary '&' operand
         s[(i << 1) + 1] = '#';
                                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 00:53:58, Gzip enabled