Submission #161962

#TimeUsernameProblemLanguageResultExecution timeMemory
161962Exile_2k4Nadan (COCI18_nadan)C++17
50 / 50
3 ms420 KiB
#include <bits/stdc++.h> using namespace std; #define int long long signed main(){ int n,k; cin >> n >> k; for(int i=0;i<k-1;i++){ cout << i+1 << endl; } cout << n-k*(k-1)/2 << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...