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_39713828_19703.cpp: In function 'int main()':
0_0_39713828_19703.cpp:28:27: error: 'add' was not declared in this scope; did you mean 'std::filesystem::perm_options::add'?
   28 |                 auto s3 = add(s1,s2);
      |                           ^~~
      |                           std::filesystem::perm_options::add
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/filesystem:46,
                 from .\stdc++.h:200:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_fwd.h:211:7: note: 'std::filesystem::perm_options::add' declared here
  211 |       add       = 0x2,
      |       ^~~
0_0_39713828_19703.cpp:29:45: error: expected ';' before 'for'
   29 |                 cout << "Case " << tt << ":"
      |                                             ^
      |                                             ;
   30 |                 for (auto x : a){
      |                 ~~~                          


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-29 20:19:50, Gzip enabled