我们要让a,b,c一定算不出d
易知当d>=10时我们a=1,b=2,c=3最大是9,一定可以满足
当d<10是我们a=51,b=79,c=100最小值是20,一定可以满足
(这种三元组有很多,随便找两组即可)
#include"bits/stdc++.h"
using namespace std;
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define endl '\n'
signed main()
{
int n;
cin >> n;
if (n >= 10) cout << "1 2 3" << endl;
else cout << "51 79 100" << endl;
}