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_28847428_18433.cpp: In function 'int main()':
0_0_28847428_18433.cpp:15:3: error: 'a1' was not declared in this scope
   a1="";
   ^
0_0_28847428_18433.cpp:16:3: error: 'a2' was not declared in this scope
   a2="";
   ^
0_0_28847428_18433.cpp:17:15: error: 'i' was not declared in this scope
   a1.insert(0,i,' ');
               ^
0_0_28847428_18433.cpp:18:6: error: expected primary-expression before '.' token
   a2=.insert(0,i,c);
      ^
0_0_28847428_18433.cpp:25:17: error: expected primary-expression before ';' token
   for(int i=0;i<;i++)
                 ^


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-01 18:42:09, Gzip enabled