Submission #879522

#TimeUsernameProblemLanguageResultExecution timeMemory
879522tch1cherinNadan (COCI18_nadan)C++17
50 / 50
1 ms436 KiB
#include <bits/stdc++.h> using namespace std; int main() { int K, N; cin >> K >> N; for (int i = 1; i <= N - 1; i++) { K -= i; cout << i << "\n"; } cout << K << "\n"; }
#Verdict Execution timeMemoryGrader output
Fetching results...