yosupo06 / library-checker-problems Goto Github PK
View Code? Open in Web Editor NEWThe problem data (Test case generator, judge's solution, task, ...) of Library Checker
Home Page: https://judge.yosupo.jp/
License: Apache License 2.0
The problem data (Test case generator, judge's solution, task, ...) of Library Checker
Home Page: https://judge.yosupo.jp/
License: Apache License 2.0
N x M次元の行列A、長さNのベクトルbが与えられます。A x = bを満たすxを求めてください。(mod 998244353)
入力
N M
A
b0 b1 b2 ...
出力
解空間のランク(存在しない場合-1)
解のうちどれか一つ
解空間の基底ベクトル(M次元) (行ベクトルとして、縦に並べる)
制約
N, M <= 500
欲しくない? 僕は欲しい
a,n, mが与えられる
x^n = a(mod m)を満たすxを求める
長さNの数列a_iにQ個のクエリ
N, Q <= 500,000(200,000?)
0 <= a_i, x <= 1e9
想定
入力の順番
Tケース
x, y, mが与えられる。x^k = y (mod m)なるkのうち、最小を答えよ(存在しない場合-1)
generator.pyにキャッシュみたいな機能ほしい
Directed MST のサンプル #2 の答えがおかしいように思います.
壊れる。
随時募集中
はガンガンresolvedにしていきます
euler tour / pathなどをどうするか?
全部まとめる?
runの定義が間違っているのでは?と話題に
具体的にはaaaaaaaaaaの時に、周期=2,3,..を全部出すか、最大だけを出すか
そして-Werrorをたす
solution = "correct.cpp"
verify = 'verify.cpp'
これ必要かな?これじゃないケースがあるか
入力 / 出力 形式をどうするか?
そもそもg1-smallってのが無理があるんだよね、cloudbuildなど、CIを回すときだけ強いサーバーを借りるような方針で
Tケース
y, pが与えられる。x^2 = y (mod p)なるxを1つ求めよ(存在しない場合、-1)
#55 を解決するために必要不可欠
長さNの数列a_iにQ個のクエリ
N, Q <= 500,000(200,000?)
0 <= a_i, x <= 1e9
想定
solutionsが無いときにコンパイルしないから
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.