QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#403185 | #6117. Determine The Fluctuation Bonus | dXqwq | Compile Error | / | / | C++23 | 13.0kb | 2024-05-01 22:12:36 | 2024-05-01 22:12:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:18: error: ‘long long long’ is too long for GCC 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long’ and ‘short’ specified together 154 | #define int long long | ^~~~ answer.code:154:13: error: ‘long’ and ‘short’ specified together 154 | #define int long long | ^~~~ /usr/include/c++/13/bits/basic_string.h: In static member function ‘static constexpr long long int std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_compare(size_type, size_type)’: answer.code:154:13: error: expected primary-expression before ‘long’ 154 | #define int long long | ^~~~ answer.code:154:13: error: expected ‘;’ before ‘long’ In file included from /usr/include/c++/13/string:54, from /usr/include/c++/13/random:42, from answer.code:476: /usr/include/c++/13/bits/basic_string.h:487:22: error: conflicting declaration ‘long long int __d’ 487 | return int(__d); | ^~~ /usr/include/c++/13/bits/basic_string.h:480:31: note: previous declaration as ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::difference_type __d’ 480 | const difference_type __d = difference_type(__n1 - __n2); | ^~~ /usr/include/c++/13/bits/basic_string.h: In function ‘long long int std::__cxx11::stoi(const std::string&, std::size_t*, long long int)’: /usr/include/c++/13/bits/basic_string.h:4109:40: error: no matching function for call to ‘__stoa<long int, long long int>(long int (*)(const char*, char**, int) noexcept, const char [5], const char*, std::size_t*&, long long int&)’ 4109 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4110 | __idx, __base); } | ~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/basic_string.h:4097: /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, std::size_t*, _Base ...)’ 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4109:40: note: inconsistent parameter pack deduction with ‘int’ and ‘long long int’ 4109 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4110 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const std::string&, std::siz...