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_37529504_7990.cpp: In function 'void CDQ3d(int, int)':
0_0_37529504_7990.cpp:35:6: error: reference to 'tm' is ambiguous
   if(tm[i].y<=tm[j].y){
      ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:35:15: error: reference to 'tm' is ambiguous
   if(tm[i].y<=tm[j].y){
               ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:36:7: error: reference to 'tm' is ambiguous
    if(tm[i].op==1&&tm[i].flag==0)
       ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:36:20: error: reference to 'tm' is ambiguous
    if(tm[i].op==1&&tm[i].flag==0)
                    ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:37:9: error: reference to 'tm' is ambiguous
     add(tm[i].z,1);
         ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:38:15: error: reference to 'tm' is ambiguous
    tmp[pos++]=tm[i];
               ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:40:7: error: reference to 'tm' is ambiguous
    if(tm[j].op==2&&tm[j].flag==1)
       ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:40:20: error: reference to 'tm' is ambiguous
    if(tm[j].op==2&&tm[j].flag==1)
                    ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:41:9: error: reference to 'tm' is ambiguous
     ans[tm[j].id]+=tm[j].w*ask(tm[j].z);
         ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:41:20: error: reference to 'tm' is ambiguous
     ans[tm[j].id]+=tm[j].w*ask(tm[j].z);
                    ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:41:32: error: reference to 'tm' is ambiguous
     ans[tm[j].id]+=tm[j].w*ask(tm[j].z);
                                ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:42:15: error: reference to 'tm' is ambiguous
    tmp[pos++]=tm[j];
               ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:46:6: error: reference to 'tm' is ambiguous
   if(tm[i].op==1&&tm[i].flag==0)
      ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:46:19: error: reference to 'tm' is ambiguous
   if(tm[i].op==1&&tm[i].flag==0)
                   ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:47:8: error: reference to 'tm' is ambiguous
    add(tm[i].z,1);
        ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 from 0_0_37529504_7990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/time.h:88:10: note:                 struct tm
   struct tm {
          ^
0_0_37529504_7990.cpp:48:14: error: reference to 'tm' is ambiguous
   tmp[pos++]=tm[i];
              ^
0_0_37529504_7990.cpp:9:12: note: candidates are: node tm [400050]
 }z[400050],tm[400050],tmp[400050];
            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ctime:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:49,
                 fro


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-22 12:28:07, Gzip enabled