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_29277945_7420.cpp:1:15: error: 'inf' was not declared in this scope
     int cap = inf;
               ^
0_0_29277945_7420.cpp:2:5: error: 'F' does not name a type
     F.init();
     ^
0_0_29277945_7420.cpp:3:5: error: 'n' does not name a type
     n = v1.size(), m = v2.size();
     ^
0_0_29277945_7420.cpp:4:20: error: 'n' was not declared in this scope
     int s = 0, t = n + m +  2;
                    ^
0_0_29277945_7420.cpp:4:24: error: 'm' was not declared in this scope
     int s = 0, t = n + m +  2;
                        ^
0_0_29277945_7420.cpp:5:5: error: 'F' does not name a type
     F.s = s, F.t = t;
     ^
0_0_29277945_7420.cpp:6:5: error: expected unqualified-id before 'for'
     for ( int i = 1 ; i <= n ; i++ ) {
     ^
0_0_29277945_7420.cpp:6:23: error: 'i' does not name a type
     for ( int i = 1 ; i <= n ; i++ ) {
                       ^
0_0_29277945_7420.cpp:6:32: error: 'i' does not name a type
     for ( int i = 1 ; i <= n ; i++ ) {
                                ^
0_0_29277945_7420.cpp:10:5: error: 'cap' does not name a type
     cap = inf;
     ^
0_0_29277945_7420.cpp:11:5: error: expected unqualified-id before 'for'
     for ( int i = 1 ; i <= m ; i++ ) {
     ^
0_0_29277945_7420.cpp:11:23: error: 'i' does not name a type
     for ( int i = 1 ; i <= m ; i++ ) {
                       ^
0_0_29277945_7420.cpp:11:32: error: 'i' does not name a type
     for ( int i = 1 ; i <= m ; 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-27 02:49:07, Gzip enabled