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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/fstream:939:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:69,
                 from 0_0_36449140_24828.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/fstream: In instantiation of 'class std::basic_filebuf<char>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/fstream.tcc:968:25:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/fstream.tcc:894:5: error: conflicting return type specified for 'long long int std::basic_filebuf<_CharT, _Traits>::sync() [with _CharT = char; _Traits = std::char_traits<char>]'
     basic_filebuf<_CharT, _Traits>::
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:43:0,
                 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_36449140_24828.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/streambuf:627:7: error:   overriding 'int std::basic_streambuf<_CharT, _Traits>::sync() [with _CharT = char; _Traits = std::char_traits<char>]'
       sync() { return 0; }
       ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/fstream:939:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:69,
                 from 0_0_36449140_24828.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/fstream: In instantiation of 'class std::basic_filebuf<wchar_t>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/fstream.tcc:974:25:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/fstream.tcc:894:5: error: conflicting return type specified for 'long long int std::basic_filebuf<_CharT, _Traits>::sync() [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]'
     basic_filebuf<_CharT, _Traits>::
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:43:0,
                 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_36449140_24828.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/streambuf:627:7: error:   overriding 'int std::basic_streambuf<_CharT, _Traits>::sync() [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]'
       sync() { return 0; }
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray: In member function 'std::valarray<_Tp> std::valarray<_Tp>::shift(long long int) const':
0_0_36449140_24828.cpp:10:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_36449140_24828.cpp:10:13: error: expected ';' before 'long'
0_0_36449140_24828.cpp:10:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_36449140_24828.cpp:10:13: error: expected ';' before 'long'
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray: In member function 'std::valarray<_Tp> std::valarray<_Tp>::cshift(long long int) const':
0_0_36449140_24828.cpp:10:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_36449140_24828.cpp:10:13: error: expected ';' before 'long'
0_0_36449140_24828.cpp:10:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_36449140_24828.cpp:10:13: error: expected ';' before 'long'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/atomic:41:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:99,
                 from 0_0_36449140_24828.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h: In function 'constexpr std::memory_order std::operator|(std::memory_order, std::__memory_order_modifier)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:77:24: error: expected primary-expression before '(' token
     return memory_order(__m | int(__mod));
                        ^
0_0_36449140_24828.cpp:10:13: error: expected primary-expression before 'long'
 #define int long long
             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/atomic:41:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:99,
                 from 0_0_36449140_24828.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:78:3: error: body of constexpr function 'constexpr std::memory_order std::operator|(std::memory_order, std::__memory_order_modifier)' not a return-statement
   }
   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h: In function 'constexpr std::memory_order std::operator&(std::memory_order, std::__memory_order_modifier)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:83:24: error: expected primary-expression before '(' token
     return memory_order(__m & int(__mod));
                        ^
0_0_36449140_24828.cpp:10:13: error: expected primary-expression before 'long'
 #define int long long
             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/atomic:41:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:99,
                 from 0_0_36449140_24828.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:84:3: error: body of constexpr function 'constexpr std::memory_order std::operator&(std::memory_order, std::__memory_order_modifier)' not a return-statement
   }
   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h: In instantiation of 'struct std::__atomic_base<bool>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/atomic:57:25:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:391:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(long long int) [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool]' must take 'int' as its argument
       operator++(int) noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:395:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(long long int) volatile [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool]' must take 'int' as its argument
       operator++(int) volatile noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:399:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(long long int) [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool]' must take 'int' as its argument
       operator--(int) noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:403:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(long long int) volatile [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool]' must take 'int' as its argument
       operator--(int) volatile noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h: In instantiation of 'struct std::__atomic_base<char>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/atomic:503:34:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:391:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(long long int) [with _ITp = char; std::__atomic_base<_IntTp>::__int_type = char]' must take 'int' as its argument
       operator++(int) noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:395:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(long long int) volatile [with _ITp = char; std::__atomic_base<_IntTp>::__int_type = char]' must take 'int' as its argument
       operator++(int) volatile noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:399:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(long long int) [with _ITp = char; std::__atomic_base<_IntTp>::__int_type = char]' must take 'int' as its argument
       operator--(int) noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:403:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(long long int) volatile [with _ITp = char; std::__atomic_base<_IntTp>::__int_type = char]' must take 'int' as its argument
       operator--(int) volatile noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h: In instantiation of 'struct std::__atomic_base<signed char>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/atomic:522:41:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:391:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(long long int) [with _ITp = signed char; std::__atomic_base<_IntTp>::__int_type = signed char]' must take 'int' as its argument
       operator++(int) noexcept
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/atomic_base.h:395:7: error: postfix 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(long long int) volatile [with _ITp = signed char; std::__atomic_base<_IntTp>::__int_type = 


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-07-05 19:26:36, Gzip enabled