Submission #107074

#TimeUsernameProblemLanguageResultExecution timeMemory
107074aryamanNadan (COCI18_nadan)C++14
10 / 50
3 ms384 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef complex<ld> cd; typedef pair<int, int> ii; typedef tuple<int, int, int> iii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<ld> vd; typedef vector<ll> vl; #define mp make_pair #define pb push_back #define f first #define s second const int MAX = 201; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int k, n; cin >> k >> n; for (int i = 1; i < n; i++) { cout << i << endl; k -= n; } cout << k << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...