| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1353634 | Newtonabc | Nadan (COCI18_nadan) | C++20 | 0 ms | 344 KiB |
#include<bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(0);
int n,k; cin>>k >>n;
for(int i=1;i<n;i++) cout<<i <<"\n";
cout<<k-(n*(n-1))/2;
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
