제출 #796803

#제출 시각아이디문제언어결과실행 시간메모리
796803raphaelpNadan (COCI18_nadan)C++14
50 / 50
1 ms304 KiB
#include<bits/stdc++.h> using namespace std; int main() { int N, K; cin >> K >> N; for (int i=1; i<N; i++) { cout<< i << endl; K-= i; } cout << K; }
#Verdict Execution timeMemoryGrader output
Fetching results...