Submission #81724

#TimeUsernameProblemLanguageResultExecution timeMemory
81724Mouhanad_HafezNadan (COCI18_nadan)C++11
50 / 50
3 ms552 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n,k; cin>>n>>k; for(int i=1;i<k;i++){ cout<<i<<endl; n-=i; } cout<<n<<endl; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...