제출 #573456

#제출 시각아이디문제언어결과실행 시간메모리
573456Hussein3602Nadan (COCI18_nadan)C++14
50 / 50
1 ms300 KiB
#include<bits/stdc++.h> using namespace std ; typedef long long ll ; const int N=1e3+9; vector<bool>vis(N,false) ; int main() { ll n ,k ; cin >> k >> n ; for(ll i=1;i<n;i++) { cout<<i<<endl; } cout<<k-n*(n-1)/2; }
#Verdict Execution timeMemoryGrader output
Fetching results...