File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3131 VERSION : ${{ steps.version.outputs.VERSION_NAME }}
3232 - name : Publish to github pages
3333 if : ${{ github.event_name == 'push' }}
34- uses : peaceiris/actions-gh-pages@v3
34+ uses : peaceiris/actions-gh-pages@v4
3535 with :
36- deploy_key : ${{ secrets.ACTIONS_DEPLOY_KEY }}
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
3737 publish_dir : ./tools/generated
3838 destination_dir : ${{ steps.version.outputs.VERSION_NAME }}
3939 - name : Upload zip
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ void butterfly_inv(std::vector<mint>& a) {
130130 auto r = a[i + offset + p];
131131 a[i + offset] = l + r;
132132 a[i + offset + p] =
133- (unsigned long long )(mint::mod () + l.val () - r.val ()) *
133+ (unsigned long long )(( unsigned int )( l.val () - r.val ()) + mint::mod ()) *
134134 irot.val ();
135135 ;
136136 }
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ struct static_modint : internal::static_modint_base {
4848 _v = (unsigned int )(v % umod ());
4949 }
5050
51- unsigned int val () const { return _v; }
51+ int val () const { return _v; }
5252
5353 mint& operator ++() {
5454 _v++;
@@ -165,7 +165,7 @@ template <int id> struct dynamic_modint : internal::modint_base {
165165 _v = (unsigned int )(v % mod ());
166166 }
167167
168- unsigned int val () const { return _v; }
168+ int val () const { return _v; }
169169
170170 mint& operator ++() {
171171 _v++;
You can’t perform that action at this time.
0 commit comments