2 条题解
-
0
#include<bits/stdc++.h> using namespace std; #define int long long void solve() { int n; cin >> n; if(n <= 5){ cout << "NO" << '\n'; }else{ if(n & 1){ cout << 3 << " " << n-3 << '\n'; }else{ cout << 2 << " " << n-2 << '\n'; } } } signed main() { ios::sync_with_stdio(0); cin.tie(0), cout.tie(0); int T = 1; cin >> T; while (T--) solve(); return 0; }
- 1
信息
- ID
- 1184
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 7
- 标签
- (无)
- 递交数
- 158
- 已通过
- 40
- 上传者