提出 #16273
提出日時 | 2024/10/06 15:34:03 |
---|---|
問題 | A: Adding |
ユーザ | T101010101 |
言語 | C++23 (g++ 12.2.0) |
得点 | 0 |
結果 | CE |
コンパイルエラー
./Main.cpp:1: warning: ignoring '#pragma region Macros' [-Wunknown-pragmas]
1 | #pragma region Macros
|
./Main.cpp:740: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
740 | #pragma endregion
|
cc1plus: error: attribute 'target' argument 'avx512' is unknown
./Main.cpp:37:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
37 | const bool equals(ld a, ld b) { return fabs((a) - (b)) < EPS; }
| ^~~~~
./Main.cpp: In function 'bit_function::i64 bit_function::erase(i64, ll, ll)':
./Main.cpp:180:61: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
180 | i64 erase(i64 x, int l, int r) { return x >> r << l | x & ((1LL << l) - 1); } // [l, r) をカット
| ~~^~~~~~~~~~~~~~~~~~
./Main.cpp: In function 'void util_function::Sort(T&, T&, bool)':
./Main.cpp:343:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
343 | if (rev == false) if (a > b) swap(a, b);
| ^
./Main.cpp: In function 'std::istream& util_function::operator>>(std::istream&, __int128&)':
./Main.cpp:370:27: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
370 | for (int i = 0; i < S.length(); i++)
| ~~^~~~~~~~~~~~
./Main.cpp: In function '__int128 util_function::stoll(std::string&)':
./Main.cpp:394:27: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
394 | for (int i = 0; i < S.length(); i++)
| ~~^~~~~~~~~~~~
./Main.cpp: In function 'mint modpow(const mint&, ll)':
./Main.cpp:678:13: warning: implicitly-declared 'constexpr Modint<1000000007>& Modint<1000000007>::operator=(const Modint<1000000007>&)' is deprecated [-Wdeprecated-copy]
678 | t = t * t;
| ^
./Main.cpp:625:5: note: because 'Modint<1000000007>' has user-provided 'Modint<mod>::Modint(const Modint<mod>&) [with long long int mod = 1000000007]'
625 | Modint(const Modint &r) { val = r.val; }
| ^~~~~~
./Main.cpp:679:24: warning: implicitly-declared 'constexpr Modint<1000000007>& Modint<1000000007>::operator=(const Modint<1000000007>&)' is deprecated [-Wdeprecated-copy]
679 | if (n & 1) t = t * x;
| ^
./Main.cpp:625:5: note: because 'Modint<1000000007>' has user-provided 'Modint<mod>::Modint(const Modint<mod>&) [with long long int mod = 1000000007]'
625 | Modint(const Modint &r) { val = r.val; }
| ^~~~~~
./Main.cpp: In function 'void COMinit(ll)':
./Main.cpp:702:25: warning: implicitly-declared 'constexpr Modint<1000000007>& Modint<1000000007>::operator=(const Modint<1000000007>&)' is deprecated [-Wdeprecated-copy]
702 | _fac[0] = _fac[1] = 1; _finv[0] = _finv[1] = 1; _inv[1] = 1;
| ^
./Main.cpp:625:5: note: because 'Modint<1000000007>' has user-provided 'Modint<mod>::Modint(const Modint<mod>&) [with long long int mod = 1000000007]'
625 | Modint(const Modint &r) { val = r.val; }
| ^~~~~~
./Main.cpp:702:25: warning: implicitly-declared 'constexpr Modint<1000000007>& Modint<1000000007>::operator=(const Modint<1000000007>&)' is deprecated [-Wdeprecated-copy]
702 | _fac[0] = _fac[1] = 1; _finv[0] = _finv[1] = 1; _inv[1] = 1;
| ^
./Main.cpp:625:5: note: because 'Modint<1000000007>' has user-provided 'Modint<mod>::Modint(const Modint<mod>&) [with long long int mod = 1000000007]'
625 | Modint(const Modint &r) { val = r.val; }
| ^~~~~~
./Main.cpp:702:50: warning: implicitly-declared 'constexpr Modint<1000000007>& Modint<1000000007>::operator=(const Modint<1000000007>&)' is deprecated [-Wdeprecated-copy]
702 | _fac[0] = _fac[1] = 1; _finv[0] = _finv[1] = 1; _inv[1] = 1;
| ^
./Main.cpp:625:5: note: because 'Modint<1000000007>' has user-provided 'Modint<mod>::Modint(const Modint<mod>&) [with long long int mod = 1000000007]'
625 | Modint(const Modint &r) { val = r.val; }
| ^~~~~~
./Main.cpp:702:50: warning: implicitly-declared 'constexpr Modint<1000000007>& Modint<1000000007>::operator=(const Modint<1000000007>&)' is deprecated [-Wdeprecated-copy]
702 | _fac[0] = _fac[1] = 1; _finv[0] = _finv[1] = 1; _inv[1] = 1;
| ^
./Main.cpp:625:5: note: because 'Modint<1000000007>' has user-provided 'Modint<mod>::Modint(const Modint<mod>&) [with long long int mod = 1000000007]'
625 | Modint(const Modint &r) { val = r.val; }
| ^~~~~~
./Main.cpp:702:63: warning: implicitly-declared 'constexpr Modint<1000000007>&