0_0_36604673_29866.cpp: In function 'int main()':
0_0_36604673_29866.cpp:46:4: error: reference to 'tm' is ambiguous
tm[i].id = i, tm[i].sc = a[i];
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:46:18: error: reference to 'tm' is ambiguous
tm[i].id = i, tm[i].sc = a[i];
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:48:8: error: reference to 'tm' is ambiguous
sort(tm + 1, tm + n + 1);
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:48:16: error: reference to 'tm' is ambiguous
sort(tm + 1, tm + n + 1);
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:53:15: error: reference to 'tm' is ambiguous
int high = tm[i].sc + b[1];
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:57:8: error: reference to 'tm' is ambiguous
if(tm[j].sc + b[n] > high) pos++, cnt1++;
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:64:20: error: reference to 'tm' is ambiguous
while(b[p] + tm[k].sc > high) p++;
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:73:4: error: 'ans1' was not declared in this scope
ans1[tm[i].id] = cnt1 + 1;
^
0_0_36604673_29866.cpp:73:9: error: reference to 'tm' is ambiguous
ans1[tm[i].id] = cnt1 + 1;
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:75:14: error: reference to 'tm' is ambiguous
int low = tm[i].sc + b[n];
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:80:8: error: reference to 'tm' is ambiguous
if(tm[j].sc > low) pos--, cnt2++;
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_36604673_29866.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note: struct tm
struct tm {
^
0_0_36604673_29866.cpp:87:21: error: reference to 'tm' is ambiguous
while(b[up] + tm[k].sc <= low) up--;
^
0_0_36604673_29866.cpp:38:3: note: candidates are: team tm [500010]
} tm[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
from GCC4.9.2/x86_64-w64-mi
|