cf/mirror

Multiplicative Arrays

CF
2060F2200· master4s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
2 2
4 3
10 6969420
Output
2 3
3 6 6 10
6969420 124188773 124188773 729965558 124188773 337497990 124188773 50981194 729965558 337497990
2060F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)