Skip to content

Commit d8a8e74

Browse files
author
atcoder-live
committed
mint: remove const from istream
1 parent ef4de9b commit d8a8e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ struct mint {
3333
mint& operator/=(const mint a) { return *this *= a.inv();}
3434
mint operator/(const mint a) const { return mint(*this) /= a;}
3535
};
36-
istream& operator>>(istream& is, const mint& a) { return is >> a.x;}
36+
istream& operator>>(istream& is, mint& a) { return is >> a.x;}
3737
ostream& operator<<(ostream& os, const mint& a) { return os << a.x;}

0 commit comments

Comments
 (0)