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_35863741_27962.cpp:24:5: error: missing terminating ' character
     while(~scanf("%s",a)&&a[0]!='#’) 
     ^
0_0_35863741_27962.cpp:9:5: error: expected initializer before 'for'
     for(int i = 0; s1[i]; i++)
     ^
0_0_35863741_27962.cpp:9:20: error: 's1' does not name a type
     for(int i = 0; s1[i]; i++)
                    ^
0_0_35863741_27962.cpp:9:27: error: 'i' does not name a type
     for(int i = 0; s1[i]; i++)
                           ^
0_0_35863741_27962.cpp:10:24: error: 's2' does not name a type
         for(int j = 0; s2[j]; j++)
                        ^
0_0_35863741_27962.cpp:10:31: error: 'j' does not name a type
         for(int j = 0; s2[j]; j++)
                               ^
0_0_35863741_27962.cpp:17:5: error: expected unqualified-id before 'return'
     return false;
     ^
0_0_35863741_27962.cpp:18:1: error: expected declaration before '}' token
 }
 ^


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-23 10:32:33, Gzip enabled