Submission #81869

#TimeUsernameProblemLanguageResultExecution timeMemory
81869OrtNadan (COCI18_nadan)C++11
50 / 50
4 ms520 KiB
#include<iostream> 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 << "\n"; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...