Submission #81852

#TimeUsernameProblemLanguageResultExecution timeMemory
81852PahluinNadan (COCI18_nadan)C++14
50 / 50
3 ms556 KiB
# include <iostream> # include <cstdio> # include <string> # include <cmath> # include <algorithm> using namespace std; int K, N, zbr; int main() { cin >> K >> N; for(int i = 1; i < N; ++i) { zbr += i; cout << i << endl; } cout << K - zbr; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...