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_35059014_4546.cpp: In function 'int main()':
0_0_35059014_4546.cpp:15:13: error: 'i' was not declared in this scope
         for(i=0;i<n;i++) scanf("%d",&A[i]);
             ^
0_0_35059014_4546.cpp:16:13: error: 'i' was not declared in this scope
         for(i=0;i<m;i++) scanf("%d",&B[i]);
             ^
0_0_35059014_4546.cpp:20:13: error: 'i' was not declared in this scope
         for(i=0;i<n;i++){
             ^
0_0_35059014_4546.cpp:21:17: error: 'j' was not declared in this scope
             for(j=0;j<m;j++){
                 ^
0_0_35059014_4546.cpp:35:13: error: 'i' was not declared in this scope
         for(i=0,j=0;i<n;i++){
             ^
0_0_35059014_4546.cpp:35:17: error: 'j' was not declared in this scope
         for(i=0,j=0;i<n;i++){
                 ^
0_0_35059014_4546.cpp:44:19: error: 'j' was not declared in this scope
         int t,l,J=j;
                   ^
0_0_35059014_4546.cpp:46:17: error: 'i' was not declared in this scope
             for(i=0;i< J-l-1 ;i++){
                 ^
0_0_35059014_4546.cpp:56:13: error: 'i' was not declared in this scope
         for(i=0;i<j;i++) printf("%d ",C[i]);
             ^
0_0_35059014_4546.cpp: At global scope:
0_0_35059014_4546.cpp:61:1: error: expected unqualified-id before '--' token
 ----------------------------------------------------------------------------------
 ^


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:56:39, Gzip enabled