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_21594291_17904.cpp:14:12: error: stray '#' in program
  memset(b,'#',sizeof(b));
            ^
0_0_21594291_17904.cpp:14:16: error: stray '#' in program
  memset(b,'#',sizeof(b));
                ^
0_0_21594291_17904.cpp:14:18: error: stray '#' in program
  memset(b,'#',sizeof(b));
                  ^
0_0_21594291_17904.cpp:15:8: error: stray '#' in program
  b[0]='@',b[2*n+2]='$';
        ^
0_0_21594291_17904.cpp:15:12: error: stray '@' in program
  b[0]='@',b[2*n+2]='$';
            ^
0_0_21594291_17904.cpp:15:14: error: stray '#' in program
  b[0]='@',b[2*n+2]='$';
              ^
0_0_21594291_17904.cpp:15:29: error: stray '#' in program
  b[0]='@',b[2*n+2]='$';
                             ^
0_0_21594291_17904.cpp:15:35: error: stray '#' in program
  b[0]='@',b[2*n+2]='$';
                                   ^
0_0_21594291_17904.cpp: In function 'void solve(int)':
0_0_21594291_17904.cpp:14:13: error: lvalue required as unary '&' operand
  memset(b,'#',sizeof(b));
             ^
0_0_21594291_17904.cpp:14:19: error: lvalue required as unary '&' operand
  memset(b,'#',sizeof(b));
                   ^
0_0_21594291_17904.cpp:14:22: error: expected primary-expression before ',' token
  memset(b,'#',sizeof(b));
                      ^
0_0_21594291_17904.cpp:15:9: error: lvalue required as unary '&' operand
  b[0]='@',b[2*n+2]='$';
         ^
0_0_21594291_17904.cpp:15:15: error: lvalue required as unary '&' operand
  b[0]='@',b[2*n+2]='$';
               ^
0_0_21594291_17904.cpp:15:18: error: expected primary-expression before ',' token
  b[0]='@',b[2*n+2]='$';
                  ^
0_0_21594291_17904.cpp:15:30: error: lvalue required as unary '&' operand
  b[0]='@',b[2*n+2]='$';
                              ^
0_0_21594291_17904.cpp:15:33: error: '$' was not declared in this scope
  b[0]='@',b[2*n+2]='$';
                                 ^


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-10-06 06:00:29, Gzip enabled