답안 #573515

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
573515 2022-06-06T18:35:53 Z Bana_Ashoor7777 Nadan (COCI18_nadan) C++14
컴파일 오류
0 ms 0 KB
#include <bits/stdc++.h>using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}

Compilation message

nadan.cpp:1:31: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++.h>using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}
      |                               ^~~~~~~~~
nadan.cpp:1:122: error: extended character   is not valid in an identifier
    1 | #include <bits/stdc++.h>using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;}
      |                                                                                                                          ^
nadan.cpp:1:134: error: extended character   is not valid in an identifier
    1 | #include <bits/stdc++.h>using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0;using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(int i=0;i<n;i++)  cout<<a[i]<<endl;        return 0}using namespace std;typedef long long ll;vector <ll> v;vector <ll> v1;vector <ll> v2;int main(){    ll k,n;   cin>>k>>n;   ll a[n]={0};   ll sum=0;   for(int i=0;i<n;i++)   {     if(i==n-1)     a[i]=k-sum;        else     {     a[i]=i+1;     sum+=i+1;     }   }  for(