题解 | #单组_spj判断数组之和#
单组_spj判断数组之和
https://www.nowcoder.com/practice/da783089da3b4a3188d240e1b7ac4b23
#include <iostream> using namespace std; int main() { long long int n,m, a, b; cin >> n >> m; for(int i=1;i<=n-1;i++){ cout<<1<<" "; } cout<<m-n+1; } // 64 位输出请用 printf("%lld")
算法具有唯一性