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_32079867_31951.cpp: In function 'int main()':
0_0_32079867_31951.cpp:13:13: error: 'i' was not declared in this scope
         for(i=0; i<n; i++){
             ^
0_0_32079867_31951.cpp:16:9: error: 't' was not declared in this scope
         t++;
         ^
0_0_32079867_31951.cpp:18:13: error: 'j' was not declared in this scope
         for(j=0; j<m; j++){
             ^
0_0_32079867_31951.cpp:20:11: error: 't' was not declared in this scope
         C[t++] = B[j];
           ^
0_0_32079867_31951.cpp:22:13: error: 'i' was not declared in this scope
         for(i=1; i<t; i++)
             ^
0_0_32079867_31951.cpp:22:20: error: 't' was not declared in this scope
         for(i=1; i<t; i++)
                    ^
0_0_32079867_31951.cpp:23:17: error: 'j' was not declared in this scope
             for(j=0; j<t-i; j++)  
                 ^
0_0_32079867_31951.cpp:26:17: error: 'temp' was not declared in this scope
                 temp = C[j];
                 ^
0_0_32079867_31951.cpp:30:13: error: 'i' was not declared in this scope
         for(i=0;i<t;i++){
             ^
0_0_32079867_31951.cpp:30:19: error: 't' was not declared in this scope
         for(i=0;i<t;i++){
                   ^
0_0_32079867_31951.cpp:34:13: error: 'i' was not declared in this scope
         for(i=0; i<x; i++)
             ^
0_0_32079867_31951.cpp: At global scope:
0_0_32079867_31951.cpp:45:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_32079867_31951.cpp:46:2: error: expected declaration 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-07-06 02:30:40, Gzip enabled