nadan.cpp:1:33: warning: extra tokens at end of #include directive
1 | #include <bits/stdc++.h>typedef long long ll;using namespace std;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:10: fatal error: bits/stdc++.h>typede: No such file or directory
1 | #include <bits/stdc++.h>typedef long long ll;using namespace std;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 terminated.