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_36369943_7711.cpp: In function 'void bfs(int&, ll&)':
0_0_36369943_7711.cpp:32:21: error: expected ';' before 'TL'
   std::setfill<int> TL, TR;
                     ^
0_0_36369943_7711.cpp:33:36: error: 'TL' was not declared in this scope
   for(int i = 1; i <= num; i += 2) TL.insert(i);
                                    ^
0_0_36369943_7711.cpp:34:36: error: 'TR' was not declared in this scope
   for(int i = 2; i <= num; i += 2) TR.insert(i);
                                    ^
0_0_36369943_7711.cpp:37:9: error: 'TL' was not declared in this scope
     if(!TL.count(s)) continue;
         ^
0_0_36369943_7711.cpp:38:5: error: 'TL' was not declared in this scope
     TL.erase(s);
     ^
0_0_36369943_7711.cpp:45:14: error: 'TR' was not declared in this scope
           if(TR.count(v)) {
              ^
0_0_36369943_7711.cpp:50:12: error: 'TR' was not declared in this scope
         if(TR.count(mate[u])) {
            ^
0_0_36369943_7711.cpp:54:21: error: 'TR' was not declared in this scope
         for(int v : TR) {
                     ^
0_0_36369943_7711.cpp:61:18: error: 'TR' was not declared in this scope
         tmp.swap(TR);
                  ^


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-17 07:19:49, Gzip enabled