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_30952759_20734.cpp: In function 'int main()':
0_0_30952759_20734.cpp:10:27: error: expression list treated as compound expression in initializer [-fpermissive]
         scanf("%s%s",&a,&b);
                           ^
0_0_30952759_20734.cpp:10:27: error: invalid conversion from 'char (*)[100]' to 'int' [-fpermissive]
0_0_30952759_20734.cpp:22:13: error: expected '}' before 'else'
             else{
             ^
0_0_30952759_20734.cpp:47:1: error: expected '}' at end of input
 }
 ^


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-16 07:27:42, Gzip enabled