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_39146635_1064.cpp: In function 'int bfsxiang(int, int, int, int)':
0_0_39146635_1064.cpp:85:29: error: reference to 'tm' is ambiguous
   85 |                             tm[r][c] = mig[r][c];
      |                             ^~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cwchar:44,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/postypes.h:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:42,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
                 from 0_0_39146635_1064.cpp:1:
gcc-13.1.0/x86_64-w64-mingw32/include/wchar.h:1383:10: note: candidates are: 'struct tm'
 1383 |   struct tm {
      |          ^~
0_0_39146635_1064.cpp:11:6: note:                 'char tm [10][10]'
   11 | char tm[10][10];
      |      ^~
0_0_39146635_1064.cpp:92:25: error: reference to 'tm' is ambiguous
   92 |                         tm[txx][txy] = '2';
      |                         ^~
gcc-13.1.0/x86_64-w64-mingw32/include/wchar.h:1383:10: note: candidates are: 'struct tm'
 1383 |   struct tm {
      |          ^~
0_0_39146635_1064.cpp:11:6: note:                 'char tm [10][10]'
   11 | char tm[10][10];
      |      ^~
0_0_39146635_1064.cpp:100:29: error: reference to 'tm' is ambiguous
  100 |                             tm[txx][txy] = '0';
      |                             ^~
gcc-13.1.0/x86_64-w64-mingw32/include/wchar.h:1383:10: note: candidates are: 'struct tm'
 1383 |   struct tm {
      |          ^~
0_0_39146635_1064.cpp:11:6: note:                 'char tm [10][10]'
   11 | char tm[10][10];
      |      ^~


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:02:28, Gzip enabled