cf/mirror

Problem about GCD

CF
2043D1800· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
4 8 2
4 8 3
4 8 4
5 7 6
Output
4 6
-1 -1
4 8
6 6
2043D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…