Submission #310067

#TimeUsernameProblemLanguageResultExecution timeMemory
310067vipghn2003Nadan (COCI18_nadan)C++14
50 / 50
1 ms384 KiB
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int n,k; cin>>k>>n; for(int i=1;i<n;i++) { k-=i; cout<<i<<'\n'; } cout<<k; }
#Verdict Execution timeMemoryGrader output
Fetching results...