Submission #84509

#TimeUsernameProblemLanguageResultExecution timeMemory
84509MatesV13Nadan (COCI18_nadan)C++11
50 / 50
2 ms692 KiB
#include <bits/stdc++.h> using namespace std; long long k,n; int main (){ ios::sync_with_stdio(0); cin.tie(0); cin >> k; cin >> n; for (int i=0;i<n-1;i++) cout << i+1 << "\n"; cout << k - n*(n-1)/2; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...