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_35059021_17950.cpp: In function 'int main()':
0_0_35059021_17950.cpp:15:13: error: 'i' was not declared in this scope
         for(i=0;i<n;i++) scanf("%d",&A[i]);
             ^
0_0_35059021_17950.cpp:16:13: error: 'i' was not declared in this scope
         for(i=0;i<m;i++) scanf("%d",&B[i]);
             ^
0_0_35059021_17950.cpp:20:13: error: 'i' was not declared in this scope
         for(i=0;i<n;i++){
             ^
0_0_35059021_17950.cpp:21:17: error: 'j' was not declared in this scope
             for(j=0;j<m;j++){
                 ^
0_0_35059021_17950.cpp:35:13: error: 'i' was not declared in this scope
         for(i=0,j=0;i<n;i++){
             ^
0_0_35059021_17950.cpp:35:17: error: 'j' was not declared in this scope
         for(i=0,j=0;i<n;i++){
                 ^
0_0_35059021_17950.cpp:44:19: error: 'j' was not declared in this scope
         int t,l,J=j;
                   ^
0_0_35059021_17950.cpp:46:17: error: 'i' was not declared in this scope
             for(i=0;i< J-l-1 ;i++){
                 ^
0_0_35059021_17950.cpp:57:13: error: 'i' was not declared in this scope
         for(i=0;i<j;i++) printf("%d ",C[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-12-01 19:42:41, Gzip enabled