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_39163022_20445.cpp: In function 'int main()':
0_0_39163022_20445.cpp:7:5: error: 's4ing' was not declared in this scope
    7 |     s4ing s1, s2, s3;
      |     ^~~~~
0_0_39163022_20445.cpp:10:9: error: 's1' was not declared in this scope; did you mean 's4'?
   10 |         s1 = s2 = s3 = "";
      |         ^~
      |         s4
0_0_39163022_20445.cpp:10:14: error: 's2' was not declared in this scope; did you mean 's4'?
   10 |         s1 = s2 = s3 = "";
      |              ^~
      |              s4
0_0_39163022_20445.cpp:10:19: error: 's3' was not declared in this scope; did you mean 's4'?
   10 |         s1 = s2 = s3 = "";
      |                   ^~
      |                   s4
0_0_39163022_20445.cpp:13:13: error: 's4l' was not declared in this scope; did you mean 's4'?
   13 |         l = s4l(s);
      |             ^~~
      |             s4
0_0_39163022_20445.cpp:27:13: error: conflicting declaration 'int m'
   27 |         int m = s[0];
      |             ^
0_0_39163022_20445.cpp:14:14: note: previous declaration as 'char m'
   14 |         char m = '9';
      |              ^


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-22 23:06:23, Gzip enabled