Submission #486479

#TimeUsernameProblemLanguageResultExecution timeMemory
486479ammar2000Nadan (COCI18_nadan)C++17
10 / 50
1 ms292 KiB
/* ___ ___ ___ ___ ___ / /\ /__/\ /__/\ / /\ / /\ / /::\ ::\ |::\ / /::\ / /::\ / /:/\:\ | |:|:\ | |:|:\ / /:/\:\ / /:/\:\ / /:/~/::\ __|__|:|\:\ __|__|:|\:\ / /:/~/::\ / /:/~/:/ /__/:/ /:/\:\ /__/::::| \:\ /__/::::| \:\ /__/:/ /:/\:\ /__/:/ /:/___ \ \:\/:/__\/ \ \:\~~\__\/ \ \:\~~\__\/ \ \:\/:/__\/ \ \:\/:::::/ \ \::/ \ \:\ \ \:\ \ \::/ \ \::/~~~~ \ \:\ \ \:\ \ \:\ \ \:\ \ \:\ \ \:\ \ \:\ \ \:\ \ \:\ \ \:\ \__\/ \__\/ \__\/ \__\/ \__\/ ___ ___ ___ ___ ___ ___ / /\ / /\ /__/\ / /\ / /\ /__/\ / /::\ ___ / /::\ \ \:\ / /:/_ / /:/_ \ \:\ / /:/\:\ /__/\ ___ / /:/\:\ \__\:\ / /:/ /\ / /:/ /\ \ \:\ / /:/~/::\ \ \:\ / /\ / /:/~/:/ ___ / /::\ / /:/ /:/_ / /:/ /:/_ _____\__\:\ /__/:/ /:/\:\ \ \:\ / /:/ /__/:/ /:/ /__/\ /:/\:\ /__/:/ /:/ /\ /__/:/ /:/ /\ /__/::::::::\ \ \:\/:/__\/ \ \:\ /:/ \ \:\/:/ \ \:\/:/__\/ \ \:\/:/ /:/ \ \:\/:/ /:/ \ \:\~~\~~\/ \ \::/ \ \:\/:/ \ \::/ \ \::/ \ \::/ /:/ \ \::/ /:/ \ \:\ ~~~ \ \:\ \ \::/ \ \:\ \ \:\ \ \:\/:/ \ \:\/:/ \ \:\ \ \:\ \__\/ \ \:\ \ \:\ \ \::/ \ \::/ \ \:\ \__\/ \__\/ \__\/ \__\/ \__\/ \__\/ _ __ ___ ___ __| | ___ / _| ___ _ __ ___ ___ ___ _ / __/ _ \ / _` |/ _ \ |_ / _ \| '__/ __/ _ \/ __(_) | (_| (_) | (_| | __/ _| (_) | | | (_| __/\__ \_ \___\___/ \__,_|\___|_| \___/|_| \___\___||___(_) ____ ___ ___ ___ __ _ _ __ ___ _ __ ___ __ _ _ _|___ \ / _ \ / _ \ / _ \ / _` | '_ ` _ \| '_ ` _ \ / _` | '__|__) | | | | | | | | | | | (_| | | | | | | | | | | | (_| | | / __/| |_| | |_| | |_| | \__,_|_| |_| |_|_| |_| |_|\__,_|_| |_____|\___/ \___/ \___/ */ #include<bits/stdc++.h> #define ll long long #define pb push_back #define F first #define S second #define coy cout<<"YES\n" #define con cout<<"NO\n" #define co1 cout<<"-1\n" using namespace std; const int SI=3e5+7; ll INF=8e18+7; int MOD=1e9+7; ll k,n; void solver() { cin>>k>>n; for (int i=1;i<n;i++) cout<<i<<"\n"; cout << k-(n*n-1)/2; } int main() { solver(); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...