Submission #197503

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