Submission #1084070

#TimeUsernameProblemLanguageResultExecution timeMemory
1084070overwatch9Nadan (COCI18_nadan)C++17
50 / 50
1 ms348 KiB
#include <bits/stdc++.h> using namespace std; int main() { int k, n; cin >> k >> n; for (int i = 1; i < n; i++) { k -= i; cout << i << '\n'; } cout << k << '\n'; }
#Verdict Execution timeMemoryGrader output
Fetching results...