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_21599800_9582.cpp:38:23: error: stray '#' in program
          s=s*10+b[j]-'0';
                       ^
0_0_21599800_9582.cpp:38:29: error: stray '#' in program
          s=s*10+b[j]-'0';
                             ^
0_0_21599800_9582.cpp:54:19: error: stray '#' in program
    s+=(int)(b[i]-'0');
                   ^
0_0_21599800_9582.cpp:54:25: error: stray '#' in program
    s+=(int)(b[i]-'0');
                         ^
0_0_21599800_9582.cpp:55:20: error: stray '#' in program
    s1=s1*10+(b[i]-'0');
                    ^
0_0_21599800_9582.cpp:55:26: error: stray '#' in program
    s1=s1*10+(b[i]-'0');
                          ^
0_0_21599800_9582.cpp: In function 'void dfs(int, int)':
0_0_21599800_9582.cpp:38:24: error: lvalue required as unary '&' operand
          s=s*10+b[j]-'0';
                        ^
0_0_21599800_9582.cpp: In function 'int main()':
0_0_21599800_9582.cpp:54:20: error: lvalue required as unary '&' operand
    s+=(int)(b[i]-'0');
                    ^
0_0_21599800_9582.cpp:54:22: error: expected ')' before ';' token
    s+=(int)(b[i]-'0');
                      ^
0_0_21599800_9582.cpp:54:29: error: expected primary-expression before ')' token
    s+=(int)(b[i]-'0');
                             ^
0_0_21599800_9582.cpp:55:21: error: lvalue required as unary '&' operand
    s1=s1*10+(b[i]-'0');
                     ^
0_0_21599800_9582.cpp:55:23: error: expected ')' before ';' token
    s1=s1*10+(b[i]-'0');
                       ^
0_0_21599800_9582.cpp:55:30: error: expected primary-expression before ')' token
    s1=s1*10+(b[i]-'0');
                              ^


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-02 15:04:50, Gzip enabled