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_23721481_5809.cpp:11:1: error: expected unqualified-id before '/' token
 /char S1[201], S2[201], S3[201];
 ^
0_0_23721481_5809.cpp: In function 'void dfs(int, int, int)':
0_0_23721481_5809.cpp:16:6: error: 'S3' was not declared in this scope
  if (S3[s3] == '\0'&&S1[s1] == '\0'&&S2[s2] == '\0')
      ^
0_0_23721481_5809.cpp:16:22: error: 'S1' was not declared in this scope
  if (S3[s3] == '\0'&&S1[s1] == '\0'&&S2[s2] == '\0')
                      ^
0_0_23721481_5809.cpp:16:38: error: 'S2' was not declared in this scope
  if (S3[s3] == '\0'&&S1[s1] == '\0'&&S2[s2] == '\0')
                                      ^
0_0_23721481_5809.cpp:24:6: error: 'S1' was not declared in this scope
  if (S1[s1] == S3[s3])
      ^
0_0_23721481_5809.cpp:24:16: error: 'S3' was not declared in this scope
  if (S1[s1] == S3[s3])
                ^
0_0_23721481_5809.cpp:26:6: error: 'S2' was not declared in this scope
  if (S2[s2] == S3[s3])
      ^
0_0_23721481_5809.cpp:26:16: error: 'S3' was not declared in this scope
  if (S2[s2] == S3[s3])
                ^
0_0_23721481_5809.cpp: In function 'int main()':
0_0_23721481_5809.cpp:42:11: error: 'S1' was not declared in this scope
    cin >> S1 >> S2 >> S3;
           ^
0_0_23721481_5809.cpp:42:17: error: 'S2' was not declared in this scope
    cin >> S1 >> S2 >> S3;
                 ^
0_0_23721481_5809.cpp:42:23: error: 'S3' was not declared in this scope
    cin >> S1 >> S2 >> S3;
                       ^


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 03:39:58, Gzip enabled