제출 #532353

#제출 시각아이디문제언어결과실행 시간메모리
532353Alex_tz307Nadan (COCI18_nadan)C++17
50 / 50
1 ms312 KiB
#include <bits/stdc++.h> using namespace std; void testCase() { int k, n; cin >> k >> n; for (int i = 1; i < n; ++i) { cout << i << '\n'; } cout << n + k - n * (n + 1) / 2; } int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int tests = 1; for (int tc = 0; tc < tests; ++tc) { testCase(); } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...