Submission #1116433

#TimeUsernameProblemLanguageResultExecution timeMemory
1116433heeyNadan (COCI18_nadan)C++14
5 / 50
1 ms336 KiB
#include<bits/stdc++.h> using namespace std; signed main(){ ios_base::sync_with_stdio(0); cin.tie(0); int n, k; cin >> n >> k; for(int i = 1; i < n; i++) { cout << i << '\n'; n -= i; } cout << n << '\n'; }
#Verdict Execution timeMemoryGrader output
Fetching results...