Submission #151406

#TimeUsernameProblemLanguageResultExecution timeMemory
151406phillipNadan (COCI18_nadan)C++14
50 / 50
2 ms380 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n,k; cin>>k>>n; for(int i=1;i<=n-1;i++) { cout<<i<<"\n"; } cout<<k-((n-1)*(n))/2; }
#Verdict Execution timeMemoryGrader output
Fetching results...