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_33957584_29822.cpp: In function 'int main()':
0_0_33957584_29822.cpp:54:7: error: 'i' was not declared in this scope
   for(i = 0; i < len1 / 2; i++)
       ^
0_0_33957584_29822.cpp:54:18: error: 'len1' was not declared in this scope
   for(i = 0; i < len1 / 2; i++)
                  ^
0_0_33957584_29822.cpp:55:18: error: 's1' was not declared in this scope
             swap(s1[i], s1[len1 - i - 1]);
                  ^
0_0_33957584_29822.cpp:56:13: error: 'i' was not declared in this scope
         for(i = 0; i < len2 / 2; i++)
             ^
0_0_33957584_29822.cpp:56:24: error: 'len2' was not declared in this scope
         for(i = 0; i < len2 / 2; i++)
                        ^
0_0_33957584_29822.cpp:57:18: error: 's2' was not declared in this scope
             swap(s2[i], s2[len2 - i - 1]);
                  ^


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-07-06 20:05:31, Gzip enabled