admin管理员组

文章数量:815011

学好数学真的很重要

C-A加B,A模B_牛客小白月赛76 (nowcoder)

 

 

#include<iostream>
using namespace std;
int main()
{int t, n, m;cin >> t;while(t--){cin >> n >> m;if(n <= 2 * m) cout << "-1" << endl;else cout << m << " " << n - m << endl;}return 0;
}

本文标签: 学好数学真的很重要