TUATPC2024Summer (Algorithm)
コンテスト日時
2024/09/26 (Th) 20:00 - 23:00
提出 #13886
提出日時09/28 12:41:00
問題B: Worship
ユーザeast1016
言語C++23 (g++ 12.2.0)
得点0
結果
CE

コンパイルエラー

./Main.cpp: In function 'int main()':
./Main.cpp:13:14: error: invalid use of member function 'unsigned int atcoder::static_modint<m, <anonymous> >::val() const [with int m = 1000000007; std::enable_if_t<(1 <= m)>* <anonymous> = 0]' (did you forget the '()' ?)
   13 |     while (x.val != 0) {
      |            ~~^~~
      |                 ()
./Main.cpp:17:14: error: invalid use of member function 'unsigned int atcoder::static_modint<m, <anonymous> >::val() const [with int m = 1000000007; std::enable_if_t<(1 <= m)>* <anonymous> = 0]' (did you forget the '()' ?)
   17 |     while (y.val != 0) {
      |            ~~^~~
      |                 ()
./Main.cpp:21:14: error: invalid use of member function 'unsigned int atcoder::static_modint<m, <anonymous> >::val() const [with int m = 1000000007; std::enable_if_t<(1 <= m)>* <anonymous> = 0]' (did you forget the '()' ?)
   21 |     while (z.val != 0) {
      |            ~~^~~
      |                 ()