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_37885920_18413.cpp: In function 'void solve()':
0_0_37885920_18413.cpp:16:41: error: 'a' was not declared in this scope
     for(int i = 1; i <= n; i ++) cin >> a[i];
                                         ^
0_0_37885920_18413.cpp:17:41: error: 'b' was not declared in this scope
     for(int i = 1; i <= n; i ++) cin >> b[i];
                                         ^
0_0_37885920_18413.cpp:18:45: error: 'c' was not declared in this scope
     for(int i = 1; i <= n * 2; i ++) cin >> c[i];
                                             ^
0_0_37885920_18413.cpp:22:12: error: 'a' was not declared in this scope
         if(a[i] != c[k] && b[j] != c[k]){   // 无解
            ^
0_0_37885920_18413.cpp:22:20: error: 'c' was not declared in this scope
         if(a[i] != c[k] && b[j] != c[k]){   // 无解
                    ^
0_0_37885920_18413.cpp:22:28: error: 'b' was not declared in this scope
         if(a[i] != c[k] && b[j] != c[k]){   // 无解
                            ^
0_0_37885920_18413.cpp:25:12: error: 'a' was not declared in this scope
         if(a[i] != b[j]){   // 匹配方式唯一
            ^
0_0_37885920_18413.cpp:25:20: error: 'b' was not declared in this scope
         if(a[i] != b[j]){   // 匹配方式唯一
                    ^
0_0_37885920_18413.cpp:26:16: error: 'c' was not declared in this scope
             if(c[k] == a[i]) i ++;
                ^
0_0_37885920_18413.cpp:34:28: error: 'c' was not declared in this scope
                 if(b[j] == c[k]){
                            ^


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-24 19:55:36, Gzip enabled