Submission #573456

#TimeUsernameProblemLanguageResultExecution timeMemory
573456Hussein3602Nadan (COCI18_nadan)C++14
50 / 50
1 ms300 KiB
#include<bits/stdc++.h> using namespace std ; typedef long long ll ; const int N=1e3+9; vector<bool>vis(N,false) ; int main() { ll n ,k ; cin >> k >> n ; for(ll i=1;i<n;i++) { cout<<i<<endl; } cout<<k-n*(n-1)/2; }
#Verdict Execution timeMemoryGrader output
Fetching results...