Submit Time:2023-10-30 20:31:11

运行 ID: 29517

#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, x = 2; cin >> a >> b >> c; while (1) { if (a % x == b % x && b % x == c % x) { cout << x; return 0; } x ++; } return 0; }